package orm

  1. Overview
  2. Docs
exception Sql_process_error of Dyntype.Value.t * string
val process_error : Dyntype.Value.t -> string -> 'a
val exec_sql : env:Sql_backend.env -> db:Sql_backend.state -> string -> Sqlite3.Data.t list -> (Sqlite3.stmt -> 'a) -> 'a
val assert_exists : env:Sql_backend.env -> db:Sql_backend.state -> string -> int64 -> unit
val empty_row : env:Sql_backend.env -> db:Sql_backend.state -> string -> int64
val process_row : env:Sql_backend.env -> db:Sql_backend.state -> string -> string list -> Sqlite3.Data.t list -> Dyntype.Value.t -> int64
val cut_into_chunks : int -> 'a list -> 'a list list
val combine : ('a * 'a) list list -> ('a * 'a) list
val process_enum_rows : env:Sql_backend.env -> db:Sql_backend.state -> string -> string list -> Sqlite3.Data.t list list -> Dyntype.Value.t -> int64
val value_of_field : env:Sql_backend.env -> db:Sql_backend.state -> string -> Dyntype.Value.t -> Sqlite3.Data.t list
val replace_row : env:Sql_backend.env -> db:Sql_backend.state -> string -> int64 -> string list -> Sqlite3.Data.t list -> unit
val update_value : env:Sql_backend.env -> db:Sql_backend.state -> Dyntype.Value.t -> unit
OCaml

Innovation. Community. Security.