module Jennifer::Adapter::BaseSQLGenerator::ClassMethods
Defined in:
jennifer/adapter/base_sql_generator.crInstance Method Summary
-
#insert(obj : Model::Base)
Generates query for inserting new record to db
- #insert_on_duplicate(table, fields, rows : Int32, unique_fields, on_conflict)
- #json_path(path : QueryBuilder::JSONSelector)
-
#values_expression(field : Symbol)
Generates SQL for VALUES reference in `INSERT ...
Instance Method Detail
abstract
def insert_on_duplicate(table, fields, rows : Int32, unique_fields, on_conflict)
#
abstract
def values_expression(field : Symbol)
#
Generates SQL for VALUES reference in INSERT ... ON DUPLICATE
query.