package sqlexpr
-
sqlexpr.ppx
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type 'a result = 'a M.t
module TLS : Sqlexpr_concurrency.THREAD_LOCAL_STATE with type 'a t := 'a result
val open_db : ?init:(Sqlite3.db -> unit) -> string -> db
val close_db : db -> unit
val prepare :
db ->
(stmt -> string -> Sqlite3.Data.t list -> 'a result) ->
(Sqlite3.Data.t list * int * string * string option) ->
'a result
val step :
?sql:string ->
?params:Sqlite3.Data.t list ->
stmt ->
Sqlite3.Rc.t result
val step_with_last_insert_rowid :
?sql:string ->
?params:Sqlite3.Data.t list ->
stmt ->
Int64.t result
val row_data : stmt -> Sqlite3.Data.t array result
val raise_error :
stmt ->
?sql:string ->
?params:Sqlite3.Data.t list ->
?errmsg:string ->
Sqlite3.Rc.t ->
'a result
val read_rows :
(fname:string ->
stmt ->
sql:string ->
Sqlite3.Data.t list ->
?batch:int ->
cols:int ->
(Sqlite3.Data.t array -> 'b) ->
'b {Types}1.row_batch result)
option