Index of values


A
add [Dbi.Decimal]
add n m returns the sum of n and m.

C
close [Dbi_postgres]
Functional version of dbh#close ()
close [Dbi_mysql]
Functional version of dbh#close ()
closed [Dbi_postgres]
Functional version of dbh#closed
closed [Dbi_mysql]
Functional version of dbh#closed
commit [Dbi_postgres]
Functional version of dbh#commit ()
commit [Dbi_mysql]
Functional version of dbh#commit ()
compare [Dbi.Decimal]
compare n m returns 0 if x=y, a negative integer if x<y, and a positive integer if x>y.
connect [Dbi_postgres]
Functional version of new Dbi.connection ...
connect [Dbi_mysql]
Functional version of new Dbi.connection ...

D
div [Dbi.Decimal]
div n m returns the quotient of the division of n by m.

I
interval_of_string [Dbi_postgres]
Convert a string into an interval.
intoption [Dbi]
intoption(Some i) returns `Int i and intoption None returns `Null.

M
mul [Dbi.Decimal]
mul n m returns the product of n and m.

O
of_int [Dbi.Decimal]
of_int ?scale i returns the decimal number i * 10**(-scale).
of_string [Dbi.Decimal]
of_string ?scale s returns the decimal number represented by the string s.

P
ping [Dbi_postgres]
Functional version of dbh#ping ()
ping [Dbi_mysql]
Functional version of dbh#ping ()
placeholders [Dbi]
placeholders n returns a string of the form "(?, ?, ..., ?)" containing n question marks.

R
rollback [Dbi_postgres]
Functional version of dbh#rollback ()
rollback [Dbi_mysql]
Functional version of dbh#rollback ()

S
sdebug [Dbi]
sdebug ss can be used to debug the return value from a #fetch1, #map or other query.
sql_t_to_string [Dbi]
sql_t_to_string t returns a string representation of t following the Ocaml conventions.
string_escaped [Dbi]
escape_string s escapes the string s according to SQL rules and surrounds it with single quotes.
string_of_interval [Dbi_postgres]
Convert an interval into a string.
string_of_timestamp [Dbi_postgres]
Convert a timestamp into a string.
stringoption [Dbi]
stringoption(Some s) returns `String s and stringoption None returns `Null.
sub [Dbi.Decimal]
sub n m returns the difference of n by m.

T
timestamp_of_string [Dbi_postgres]
Convert a string into a timestamp.
to_float [Dbi.Decimal]
to_float n returns the closer float to n.
to_string [Dbi.Decimal]
to_string n returns a string representation of the decimal number n.