module Factory: sig end
val connect : string ->
?host:string ->
?port:string -> ?user:string -> ?password:string -> string -> Dbi.connection
Throws 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.