package patoline

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Implementation of Patodb.DbInterface using Sqlite3

type dbinfo = string

Connection information for Sqlite3 only consists of a filename

type database = {
  1. dbd : Sqlite3.db;
  2. created : (string, unit) Stdlib.Hashtbl.t;
}

Handler to the Sqlite3 database

val connect : string -> database

Opening a Sqlite3 database

val disconnect : Sqlite3.db -> bool

Closing a Sqlite3 database

val exec : Sqlite3.db -> ?cb:(Sqlite3.row -> unit) -> string -> unit
val init_db : database -> string -> unit

Database structure initialization

val create_data : database -> string -> ?log:bool -> ?visibility:Patutil.Util.visibility -> 'a Patodb.coding -> string -> 'a -> 'a Patodb.data
OCaml

Innovation. Community. Security.