MDB_Common::setFetchMode() -- sets the default fetch mode
Beschreibung
Sets the fetch mode used by default on queries
for the connection.
Parameter
- integer
$fetchmode
MDB_FETCHMODE_ORDEREDor
MDB_FETCHMODE_ASSOC,
all possibly bit-wise OR'ed with
MDB_FETCHMODE_FLIPPED. See
„Introduction - Fetch“
for further information.
Rückgabewert
void - NULL, if ok(!)
Fehler-Meldungen
Tabelle 39-1. Mögliche Fehler-Arten
| Error code | Error message | Reason | Solution |
|---|
|
NULL
|
invalid fetchmode mode
|
The given fetch mode does not exists or is not
implement in your MDB_Error version.
|
Check writing of the argument and your used version of
MDB.
|
Hinweise
Diese Methode kann nicht
statisch aufgerufen werden.