module Dbi_perl:Use Perl DBD (database drivers) with Dbi.sig
..end
This module lets you use any Perl DBD (database driver) with the
Dbi
. You can use this as a stopgap until native OCaml support
is available.
Please see Dbi
for main documentation.
class connection :string option
->string option
->string option
->string option
->string
->object
..end
val connect : ?host:string ->
?port:string ->
?user:string -> ?password:string -> string -> connection
new Dbi.connection ...
val close : connection -> unit
dbh#close ()
val closed : connection -> bool
dbh#closed
val commit : connection -> unit
dbh#commit ()
val ping : connection -> bool
dbh#ping ()
val rollback : connection -> unit
dbh#rollback ()