DB_FETCHMODE_ORDERED, DB_FETCHMODE_OBJECT or DB_FETCHMODE_ASSOC, all possibly bit-wise OR'ed with DB_FETCHMODE_FLIPPED. See "Introduction - Fetch" for further information.
The name of the class to use, if the DB_FETCHMODE_OBJECT mode is selected. If no class is specified by default a cast to object from the assoc array row will be done. There is also the possibility to use and extend the DB_row class.
Table 21-1. Possible PEAR_Error values
| Error code | Error message | Reason | Solution |
|---|---|---|---|
| NULL | invalid fetchmode mode | The given fetch mode does not exists or is not implement in your DB version. | Check writing of the argument and your used version of DB. |