class DBX::Adapter::SQLite
- DBX::Adapter::SQLite
- DBX::Adapter::Base
- Reference
- Object
Overview
SQLite adapter
Defined in:
adapter/sqlite.crClass Method Summary
-
.builder_class : DBX::QueryBuilder.class
Returns query builder class adapted for SQLite.
Instance Method Summary
-
#builder_class : DBX::QueryBuilder.class
Returns query builder class adapted for SQLite.
-
#create!(query : DBX::Query, data : Hash | NamedTuple, as types, returning : DBX::QueryBuilder::OneOrMoreFieldsType = "*", pk_name : DBX::QueryBuilder::FieldType = :id, pk_type = ::Union(Int64, ::Nil))
Creates a new record and returns.
Instance methods inherited from class DBX::Adapter::Base
create!(query : DBX::Query, data : Hash | NamedTuple, as types, returning : DBX::QueryBuilder::OneOrMoreFieldsType = "*", pk_name : DBX::QueryBuilder::FieldType = :id, pk_type = ::Union(Int64, ::Nil))
create!,
db : DB::Database
db,
new_builder : QueryBuilder
new_builder
Constructor methods inherited from class DBX::Adapter::Base
new(db : DB::Database)
new
Class methods inherited from class DBX::Adapter::Base
builder_class : QueryBuilder.class
builder_class,
new_builder : QueryBuilder
new_builder
Class Method Detail
Instance Method Detail
def create!(query : DBX::Query, data : Hash | NamedTuple, as types, returning : DBX::QueryBuilder::OneOrMoreFieldsType = "*", pk_name : DBX::QueryBuilder::FieldType = :id, pk_type = ::Union(Int64, ::Nil))
#
Creates a new record and returns.
See DBX::Query#create!
for more details.