package patoline

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

Connection information needed to connect to a database

type database

Handler to a database connection

val connect : dbinfo -> database

Connecting to a database with the given database information

val init_db : database -> string -> unit

Create the table structure in the database. Data are stored in a table whose name is given by the second argument.

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

Blah

val disconnect : database -> unit

Disconnecting from the database