module Dbi_postgres: sig
.. end
Please see Dbi
for main documentation.
val string_of_timestamp : Dbi.datetime -> string
Convert a timestamp into a string.
val timestamp_of_string : string -> Dbi.datetime
Convert a string into a timestamp.
val string_of_interval : Dbi.datetime -> string
Convert an interval into a string.
val interval_of_string : string -> Dbi.datetime
Convert a string into an interval.
class connection : ?host:string -> ?port:string -> ?user:string -> ?password:string -> 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 ()