module Jennifer::Adapter::BaseSQLGenerator::ClassMethods

Defined in:

jennifer/adapter/base_sql_generator.cr

Instance Method Summary

Instance Method Detail

abstract def insert(obj : Model::Base) #

Generates query for inserting new record to db


[View source]
abstract def insert_on_duplicate(table, fields, rows : Int32, unique_fields, on_conflict) #

[View source]
abstract def json_path(path : QueryBuilder::JSONSelector) #

[View source]
abstract def values_expression(field : Symbol) #

Generates SQL for VALUES reference in INSERT ... ON DUPLICATE query.


[View source]