package orm

  1. Overview
  2. Docs
exception Sql_process_error of Dyntype.Type.t * string
exception Subtype_error of string * string
val process_error : Dyntype.Type.t -> string -> 'a
val exec_sql : env:Sql_backend.env -> db:Sql_backend.state -> string -> Sqlite3.Data.t list -> (Sqlite3.stmt -> 'a) -> 'a
val init_and_check_types_table : mode:[> `RW ] -> env:Sql_backend.env -> db:Sql_backend.state -> (string * Dyntype.Type.t) list -> unit
val create_tables : mode:[> `RW ] -> env:Sql_backend.env -> db:Sql_backend.state -> (string * Dyntype.Type.t) list -> unit
val init_custom_indexes : mode:[> `RW ] -> env:Sql_backend.env -> db:Sql_backend.state -> (string * 'a) list -> unit
val init_triggers : mode:[> `RW ] -> env:Sql_backend.env -> db:Sql_backend.state -> table_links:(string * string * [> `Enum ] * string) list -> tables:'a -> unit
val init_tables : mode:[> `RW ] -> env:Sql_backend.env -> db:Sql_backend.state -> Dyntype.Type.t -> unit
val unix_realpath : string -> string
val canonical_name : string -> string
val database_exists : env:Sql_backend.env -> db:Sql_backend.state -> bool
OCaml

Innovation. Community. Security.