Module Sqlexpr_sqlite


module Sqlexpr_sqlite: sig .. end
Sqlexpr access to SQLite databases.

type db 
Database handle.
type st 
Type used internally.
exception Error of exn
All the exceptions raised by the code in are wrapped in Error except when indicated otherwise.
exception Sqlite_error of string * Sqlite3.Rc.t
Errors reported by SQLite are converted into Sqlite_error _ exceptions, so they can be matched with try ... with Sqlexpr.Error (Sqlexpr.sqlite_error _)
val open_db : string -> db
Open the DB whose filename is given. ":memory:" refers to an in-mem DB.
val close_db : db -> unit
Close the DB and finalize all the associated prepared statements.
val sqlite_db : db -> Sqlite3.db
Return the Sqlite3.db handle from a db.
module Make: 
functor (M : Sqlexpr_concurrency.THREAD) -> sig .. end