B | |
| begin_work [PGOCaml] |
Start a transaction.
|
| bool_of_string [PGOCaml] | |
| bytea_of_string [PGOCaml] | |
C | |
| close [PGOCaml] |
Close the database handle.
|
| close_portal [PGOCaml] | close_portal conn ?portal () closes a portal and frees up any resources.
|
| close_statement [PGOCaml] | close_statement conn ?name () closes a prepared statement and frees
up any resources.
|
| commit [PGOCaml] |
Perform a COMMIT operation on the database.
|
| connect [PGOCaml] |
Connect to the database.
|
D | |
| date_of_string [PGOCaml] | |
| describe_portal [PGOCaml] | describe_portal conn ?portal () describes the named or unnamed
portal's result types.
|
| describe_statement [PGOCaml] | describe_statement conn ?name () describes the named or unnamed
statement's parameter types and result types.
|
E | |
| execute [PGOCaml] | execute conn ?name ~params () executes the named or unnamed
statement name, with the given parameters params,
returning the result rows (if any).
|
F | |
| float_of_string [PGOCaml] | |
I | |
| int16_of_string [PGOCaml] | |
| int32_array_of_string [PGOCaml] | |
| int32_of_string [PGOCaml] | |
| int64_of_string [PGOCaml] | |
| int_of_string [PGOCaml] | |
| interval_of_string [PGOCaml] | |
M | |
| max_message_length [PGOCaml] |
Maximum message length accepted from the back-end.
|
N | |
| name_of_type [PGOCaml] |
Returns the OCaml equivalent type name to the PostgreSQL type
oid.
|
P | |
| ping [PGOCaml] |
Ping the database.
|
| prepare [PGOCaml] | prepare conn ~query ?name ?types () prepares the statement query
and optionally names it name and sets the parameter types to types.
|
| private_data [PGOCaml] |
Retrieve some private data previously attached to the database handle.
|
R | |
| rollback [PGOCaml] |
Perform a ROLLBACK operation on the database.
|
S | |
| serial [PGOCaml] |
This is a shorthand for
SELECT CURRVAL(serial).
|
| serial4 [PGOCaml] |
As
PGOCaml.serial but assumes that the column is a SERIAL or
SERIAL4 type.
|
| serial8 [PGOCaml] |
Same as
PGOCaml.serial.
|
| set_private_data [PGOCaml] |
Attach some private data to the database handle.
|
| string_of_bool [PGOCaml] | |
| string_of_bytea [PGOCaml] | |
| string_of_date [PGOCaml] | |
| string_of_float [PGOCaml] | |
| string_of_int [PGOCaml] | |
| string_of_int16 [PGOCaml] | |
| string_of_int32 [PGOCaml] | |
| string_of_int32_array [PGOCaml] | |
| string_of_int64 [PGOCaml] | |
| string_of_interval [PGOCaml] | |
| string_of_oid [PGOCaml] | |
| string_of_string [PGOCaml] | |
| string_of_time [PGOCaml] | |
| string_of_timestamp [PGOCaml] | |
| string_of_timestamptz [PGOCaml] | |
| string_of_unit [PGOCaml] | |
T | |
| time_of_string [PGOCaml] | |
| timestamp_of_string [PGOCaml] | |
| timestamptz_of_string [PGOCaml] | |
U | |
| unit_of_string [PGOCaml] |
These conversion functions are used by pa_pgsql to convert
values in and out of the database.
|
V | |
| verbose [PGOCaml] |
Verbosity.
|