A | |
available [IOO.o_input] | |
C | |
close [IOO.o_output] | |
close [IOO.o_input] | |
close [Dbi.connection] |
Closes the database handle.
|
close_in [IOO.poly_in_channel] | |
close_in [IOO.in_channel] | |
close_out [IOO.poly_out_channel] | |
close_out [IOO.out_channel] | |
closed [Dbi.connection] |
Returns
true if this database handle has been closed.
|
commit [Dbi.connection] |
Perform a COMMIT operation on the database.
|
connection [Dbi.statement] |
Return the database handle associated with this statement handle.
|
D | |
database [Dbi.connection] |
Return the database name.
|
database_type [Dbi.connection] |
Database type (e.g.
|
debug [Dbi.connection] |
Returns true if this handle has debugging enabled.
|
E | |
ex [Dbi.connection] | dbh#ex stm args is a shorthand for
|
execute [Dbi.statement] |
Execute the statement with the given list of arguments substituted
* for
? placeholders in the query string.
|
F | |
fetch1 [Dbi.statement] |
Fetches one row from the result set and returns it.
|
fetch1hash [Dbi.statement] |
Fetches a row and return it as an association list of pairs
* (column name, value).
|
fetch1int [Dbi.statement] |
This fetches a single integer field.
|
fetch1string [Dbi.statement] |
This fetches a single string field.
|
fetchall [Dbi.statement] |
This returns a list of all tuples returned from the query.
|
finish [Dbi.statement] |
"Finishes" the statement.
|
flush [IOO.poly_out_channel] | |
flush [IOO.out_channel] | |
flush [IOO.o_output] | |
fold_left [Dbi.statement] |
Fold left over the result tuples.
|
fold_right [Dbi.statement] |
Fold right over the result tuples.
|
G | |
get [IOO.poly_in_channel] | |
H | |
host [Dbi.connection] |
Return the
host parameter.
|
I | |
id [Dbi.connection] |
Returns a unique integer which can be used to identify this
* connection.
|
input [IOO.in_channel] | |
iter [Dbi.statement] |
Iterate over the result tuples.
|
M | |
map [Dbi.statement] |
Map over the result tuples.
|
N | |
names [Dbi.statement] |
Returns the names of the columns of the result.
|
nread [IOO.o_input] | |
nwrite [IOO.o_output] | |
O | |
output [IOO.out_channel] | |
P | |
password [Dbi.connection] |
Return the
password parameter.
|
ping [Dbi.connection] |
This uses some active method to verify that the database handle is
* still working.
|
port [Dbi.connection] |
Return the
port parameter.
|
pos [IOO.o_output] | |
pos [IOO.o_input] | |
prepare [Dbi.connection] |
Prepare a database query, and return the prepared statement.
|
prepare_cached [Dbi.connection] |
This method is identical to
prepare except that, if possible, it
* caches the statement handle with the database object.
|
put [IOO.poly_out_channel] | |
R | |
read [IOO.o_input] | |
register_postrollback [Dbi.connection] |
Register a function which will be called just AFTER a rollback
* happens on this handle.
|
register_precommit [Dbi.connection] |
Register a function which will be called just BEFORE a commit
* happens on this handle.
|
rollback [Dbi.connection] |
Perform a ROLLBACK operation on the database.
|
S | |
serial [Dbi.statement] |
If the statement is an INSERT and has been executed, then some
* databases support retrieving the serial number of the INSERT
* statement (assuming there is a SERIAL column or SEQUENCE attached
* to the table).
|
set_debug [Dbi.connection] |
Use this to enable debugging on the handle.
|
U | |
unregister_postrollback [Dbi.connection] |
Unregister a postrollback callback.
|
unregister_precommit [Dbi.connection] |
Unregister a precommit callback.
|
user [Dbi.connection] |
Return the
user parameter.
|
W | |
write [IOO.o_output] |