[ Index ] |
|
Code source de Symfony 1.0.0 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 205 lignes (7 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
PgSQLResultSet:: (8 méthodes):
seek()
next()
getRecordCount()
close()
strToArray()
getArray()
getBlob()
getBoolean()
Classe: PgSQLResultSet - X-Ref
PostgreSQL implementation of ResultSet.seek($rownum) X-Ref |
Postgres doesn't actually move the db pointer. The specific row is fetched by call to pg_fetch_array() rather than by a seek and then an unspecified pg_fetch_array() call. The only side-effect of this situation is that we don't really know if the seek will fail or succeed until we have called next(). This behavior is acceptible - and explicitly documented in ResultSet::seek() phpdoc. |
next() X-Ref |
getRecordCount() X-Ref |
close() X-Ref |
strToArray($str) X-Ref |
Convert Postgres string representation of array into native PHP array. param: string $str Postgres string array rep: {1223, 2343} or {{"welcome", "home"}, {"test2", ""}} return: array |
getArray($column) X-Ref |
Reads a column as an array. The value of the column is unserialized & returned as an array. param: mixed $column Column name (string) or index (int) starting with 1. return: array |
getBlob($column) X-Ref |
Returns Blob with contents of column value. param: mixed $column Column name (string) or index (int) starting with 1 (if ResultSet::FETCHMODE_NUM was used). return: Blob New Blob with data from column. |
getBoolean($column) X-Ref |
param: mixed $column Column name (string) or index (int) starting with 1. return: boolean |
Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |