module Factory: sig end
val connect : string ->
?host:string ->
?port:string -> ?user:string -> ?password:string -> string -> Dbi.connection
Raises Invalid_argument
if the database type is not known.
May throw other connection-specific SQL errors.
val database_types : unit -> string list
val register : string ->
(?host:string ->
?port:string -> ?user:string -> ?password:string -> string -> Dbi.connection) ->
unit
Dynlink
) by calling this function. The first argument is the
database type (usually the name of the database engine) and the
second is the connection function.