class Focus::SQLiteDatabase
- Focus::SQLiteDatabase
- Focus::Database
- Reference
- Object
Defined in:
sqlite/sqlite_database.crConstructors
Instance Method Summary
- #execute_insert_and_return_generated_key(expression : Focus::InsertExpression, column : Focus::BaseColumn) : DB::ResultSet
- #format_expression(expression : Focus::SqlExpression) : Tuple(String, Array(Focus::BaseArgumentExpression))
Instance methods inherited from class Focus::Database
close : Nil
close,
delete(table : Focus::Table, where : ColumnDeclaring(Bool)) : Int64
delete,
delete_all(table : Focus::Table) : Int64
delete_all,
execute_insert_and_return_generated_key(expression : Focus::InsertExpression, column : Focus::BaseColumn) : DB::ResultSet
execute_insert_and_return_generated_key,
execute_query(expression : Focus::SqlExpression) : DB::ResultSet
execute_query,
execute_update(expression : Focus::SqlExpression) : Int64
execute_update,
format_expression(expression : Focus::SqlExpression) : Tuple(String, Array(Focus::BaseArgumentExpression))
format_expression,
from(table : Focus::Table) : Focus::QuerySource
from,
insert(table : Focus::Table, &) : Int64
insert,
insert_returning_generated_key(table : Focus::Table, column : Focus::Column(T), &) : T forall T
insert_returning_generated_key,
setup_connection(&block : DB::Connection -> _)
setup_connection,
update(table : Focus::Table, &) : Int64
update,
with_connection(&block : DB::Connection -> T) : T forall T
with_connection,
with_transaction(&block : DB::Transaction -> T) : T | Nil forall T
with_transaction
Constructor methods inherited from class Focus::Database
connect(url : String) : Databaseconnect(db : DB::Database) : Database connect, new(raw_db : DB::Database) new
Constructor Detail
Instance Method Detail
def execute_insert_and_return_generated_key(expression : Focus::InsertExpression, column : Focus::BaseColumn) : DB::ResultSet
#
def format_expression(expression : Focus::SqlExpression) : Tuple(String, Array(Focus::BaseArgumentExpression))
#