Public Member Functions | |
| __construct ($sql, $connection_handle, $result_set_handle) | |
| Construct a new AnewtDatabaseResultSet instance (internal use). | |
| fetch_one () | |
| Return the next row. | |
| 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. | |
Private Attributes | |
| $freed = false | |
| Whether the result set has been freed. | |
Definition at line 168 of file backend-postgresql.lib.php.
| AnewtDatabaseResultSetPostgreSQL::__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 180 of file backend-postgresql.lib.php.
| AnewtDatabaseResultSetPostgreSQL::fetch_one | ( | ) |
Return the next row.
Reimplemented from AnewtDatabaseResultSet.
Definition at line 190 of file backend-postgresql.lib.php.
| AnewtDatabaseResultSetPostgreSQL::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 210 of file backend-postgresql.lib.php.
| AnewtDatabaseResultSetPostgreSQL::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 223 of file backend-postgresql.lib.php.
| AnewtDatabaseResultSetPostgreSQL::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 233 of file backend-postgresql.lib.php.
1.5.9