package omigrate

  1. Overview
  2. Docs
Database migrations for Reason and OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

omigrate-0.3.2.tbz
sha256=7df11359cb7175891a6776d552ef12641d54f330ab187e913f15166970ef46bf
sha512=83599cf881ffc26027dad200dad1156cc8d220b6f45ad23b758f4eaea6e21359ec2517d753f5facabf682b10f284341bdbdec121563b7096a94a110ce1933b47

doc/omigrate.sqlite3/Omigrate_sqlite3/Sqlite_3/Db/index.html

Module Sqlite_3.DbSource

Sourcetype t = {
  1. db : Sqlite3.db;
  2. begin_transaction : Sqlite3.stmt;
  3. commit : Sqlite3.stmt;
  4. rollback : Sqlite3.stmt;
}
Sourceval create : ?mode:[ `NO_CREATE | `READONLY ] -> string -> t
Sourceval close : t -> bool
Sourceval or_fail : Sqlite3.db -> cmd:string -> Sqlite3.Rc.t -> unit
Sourceval no_callback : 'a -> 'b
Sourceval exec_stmt : t -> ?cb:(Sqlite3.Data.t list -> 'a) -> Sqlite3.stmt -> unit
Sourceval bind : t -> Sqlite3.stmt -> Sqlite3.Data.t list -> unit
Sourceval exec : t -> Sqlite3.stmt -> Sqlite3.Data.t list -> unit
Sourceval exec_script : t -> string -> unit
Sourceval query : t -> Sqlite3.stmt -> Sqlite3.Data.t list -> Sqlite3.Data.t list list
Sourceval with_transaction : t -> (unit -> 'a) -> 'a
OCaml

Innovation. Community. Security.