Docs GODI Archive
Projects Blog Link DB

Search GODI:


More options
File doc/godi-ocamldbi/html/index_values.html GODI Package godi-ocamldbi
 
   index_values.html  

Index of values


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

C
compare [Dbi.Decimal]
compare n m returns 0 if x=y, a negative integer if x<y, and a positive integer if x>y.

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

I
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
placeholders [Dbi]
placeholders n returns a string of the form "(?, ?, ..., ?)" containing n question marks.

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.
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
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.

This web site is published by Informatikbüro Gerd Stolpmann
Powered by Caml