class Crorm::SQ3

Included Modules

Defined in:

crorm/adapter.cr

Constant Summary

Log = ::Log.for("crorm_sq3")

Constructors

Instance Method Summary

Instance methods inherited from module Crorm::DBX

exec(query : String, *args_, args : Array | Nil = nil) exec, exec_all(query : String, delimiter = ";") exec_all, init_db init_db, open_ro(&block : DBS -> ) open_ro, open_rw(&block : DBS -> ) open_rw, open_tx(&) open_tx, query_all(query : String, *args_, args : Array | Nil = nil, as as_type : Tuple | NamedTuple | Class) query_all, query_one(query : String, *args_, args : Array | Nil = nil, as as_type : Tuple | NamedTuple | Class) query_one, query_one?(query : String, *args_, args : Array | Nil = nil, as as_type : Tuple | NamedTuple | Class) query_one?, write_all(query : String, *args_, args : Array | Nil = nil, as as_type : Tuple | NamedTuple | Class) write_all, write_one(query : String, *args_, args : Array | Nil = nil, as as_type : Tuple | NamedTuple | Class) write_one

Constructor Detail

def self.new(db_path : String, &) #

[View source]
def self.new(db_path : String, init_sql : String = "") #

[View source]

Instance Method Detail

def db_path : String #

[View source]
def init_db(sql : String) #

[View source]
def open_ro : DBS #

[View source]
def open_ro(&) #

[View source]
def open_rw : DBS #

[View source]
def open_rw(&) #

[View source]