Database Independent Abstraction Layer for C: libdbi Driver Author's Guide | ||
---|---|---|
Prev | Chapter 3. Driver Functions | Next |
These functions are called by libdbi when the libdbi user runs queries and accesses their results. There are also a bunch of helper functions that deal with the character encodings as well as with string escaping and quoting.
Jumps to the specifed row in the result set. Internal row counts start at 0. The current row number is passed to the driver to allow it to check whether a (presumably expensive) seek operation is required.
result: The target result handle.
row: The target row number.
row: The current row number.
1 on success, 0 on error.
Fetches the target row, retrieving one-time field information if necessary. Also see the _dbd_row_allocate and _dbd_row_finalize helper functions.
result: The target result object.
rowidx: The number of the row to fetch. Internal row numbers start at zero.
0 on error, 1 on successful fetch.
Frees the target result handle.
result: The target result handle.
0 on success.