Module Dbi_perl


module Dbi_perl: sig .. end
Use Perl DBD (database drivers) with Dbi.

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
Functional version of new Dbi.connection ...
val close : connection -> unit
Functional version of dbh#close ()
val closed : connection -> bool
Functional version of dbh#closed
val commit : connection -> unit
Functional version of dbh#commit ()
val ping : connection -> bool
Functional version of dbh#ping ()
val rollback : connection -> unit
Functional version of dbh#rollback ()