Class | Description |
---|---|
![]() |
The main "DB" class is simply a container class with some static methods for creating DB objects as well as some utility functions common to all parts of DB. |
![]() |
DB_Error implements a class for reporting portable database error messages. |
![]() |
This class implements a wrapper for a DB result set. |
![]() |
Pear DB Row Object |
Column data indexed by column names
This is a special constant that tells DB the user hasn't specified any particular get mode, so the default should be used.
For multi-dimensional results: normally the first level of arrays is the row number, and the second level indexed by column number or name.
DB_FETCHMODE_FLIPPED switches this order, so the first level of arrays is the column name, and the second level the row number.
Column data as object properties
Column data indexed by numbers, ordered from 0 and up
Portability: turn on all portability features.
Portability: force reporting the number of rows deleted.
Portability: makes certain error messages in certain drivers compatible with those from other DBMS's.
Portability: convert names of tables and fields to lower case when using the get*(), fetch*() and tableInfo() methods.
Portability: turn off all portability features.
Portability: convert null values to empty strings in data output by get*() and fetch*().
Portability: enable hack that makes numRows() work in Oracle.
Portability: right trim the data output by get*() and fetch*().
these are constants for the tableInfo-function
they are bitwised or'ed. so if there are more constants to be defined in the future, adjust DB_TABLEINFO_FULL accordingly
Documentation generated on Thu, 20 Jan 2005 17:09:41 +0000 by phpDocumentor 1.3.0RC3