class Jennifer::Adapter::Mysql
- Jennifer::Adapter::Mysql
- Jennifer::Adapter::Base
- Reference
- Object
Included Modules
Defined in:
jennifer/adapter/mysql.crConstant Summary
-
TYPE_TRANSLATIONS =
{:int => "int", :string => "varchar", :bool => "bool", :text => "text"}
Class Method Summary
Instance Method Summary
- #change_table(builder : Migration::TableBuilder::ChangeTable)
- #create_table(builder : Migration::TableBuilder::CreateTable)
- #drop_table(builder : Migration::TableBuilder::DropTable)
- #insert(obj : Model::Base)
- #ready_to_migrate!
- #table_exist?(table)
- #transaction(&)
- #truncate(klass : Class)
- #truncate(table_name : String)
- #update(obj : Model::Base)
Instance methods inherited from module Jennifer::Support
pluralize(str : String)
pluralize,
singularize(str : String)
singularize
Instance methods inherited from class Jennifer::Adapter::Base
connection : DB::Database
connection,
exec(*args, **options)exec(*args, **options, &) exec, query(*args, **options)
query(*args, **options, &) query, scalar(*args, **options)
scalar(*args, **options, &) scalar