Repodb_sqlite.Raw
repodb-sqlite · API reference
type connection = {
db : Sqlite3.db;
cache : Sqlite3.stmt Repodb.Stmt_cache.t;
}type error = stringval dialect : Repodb.Driver.dialectval error_message : 'a -> 'aval error_of_string : 'a -> 'aval connect : string -> (connection, string) resultval close : connection -> unitval value_to_data : Repodb.Driver.Value.t -> Sqlite3.Data.tval data_to_value : Sqlite3.Data.t -> Repodb.Driver.Value.tval bind_params : Sqlite3.stmt -> Repodb.Driver.Value.t array -> unitval collect_rows : Sqlite3.stmt -> Repodb.Driver.row listval exec_raw :
connection ->
string ->
params:Repodb.Driver.Value.t array ->
(unit, string) resultval query_raw :
connection ->
string ->
params:Repodb.Driver.Value.t array ->
(Repodb.Driver.row list, string) resultval placeholder : 'a -> stringval returning_supported : boolval upsert_syntax : [> `SQLite ]val last_insert_id : connection -> (int64, 'a) result