Public Member Functions | |
| __construct ($sql, $connection_handle, $result_set_handle) | |
| Construct a new AnewtDatabaseResultSet instance (internal use). | |
| fetch_one () | |
| Return the next row. | |
| fetch_all () | |
| Return all remaining rows. | |
| free () | |
| Free resources associated with this result set. | |
Protected Member Functions | |
| obtain_field_types () | |
| Deduce the data types in this result set. | |
| cast_row (&$row) | |
| Cast a row of data into native PHP data types. | |
Definition at line 94 of file backend-sqlite.lib.php.
| AnewtDatabaseResultSetSQLite::__construct | ( | $ | sql, | |
| $ | connection_handle, | |||
| $ | result_set_handle | |||
| ) |
Construct a new AnewtDatabaseResultSet instance (internal use).
Do not call this method directly; it is for internal use only.
(Note to backend implementors: you should override this constructor, call into the parent, and then store the n_rows and n_rows_affected values)
| $sql | The SQL query for this result set | |
| $connection_handle | The internal connection handle | |
| $result_set_handle | The internal result set handle |
Reimplemented from AnewtDatabaseResultSet.
Definition at line 100 of file backend-sqlite.lib.php.
| AnewtDatabaseResultSetSQLite::fetch_one | ( | ) |
Return the next row.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 110 of file backend-sqlite.lib.php.
| AnewtDatabaseResultSetSQLite::fetch_all | ( | ) |
Return all remaining rows.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 120 of file backend-sqlite.lib.php.
| AnewtDatabaseResultSetSQLite::free | ( | ) |
Free resources associated with this result set.
You cannot use any methods on the result set instance anymore after calling this method.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 129 of file backend-sqlite.lib.php.
| AnewtDatabaseResultSetSQLite::obtain_field_types | ( | ) | [protected] |
Deduce the data types in this result set.
This method should be implemented in backends to perform automatic type conversion.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 137 of file backend-sqlite.lib.php.
| AnewtDatabaseResultSetSQLite::cast_row | ( | &$ | row | ) | [protected] |
Cast a row of data into native PHP data types.
This method should be implemented in backends to perform automatic type conversion.
Note that the array is modified in-place (and no result is returned).
| $row | A row of data. |
Reimplemented from AnewtDatabaseResultSet.
Definition at line 142 of file backend-sqlite.lib.php.
1.5.9