PEAR DB Module Classes
The PEAR DB module has four main classes:
DB The DB class is the primary class. It's used for connecting to the database server and for checking whether a given object represents an error. When connecting, it returns a connection object to be used for interacting with the database server. DB_common This class provides the interface to the methods available through a connection object. Each database engine-specific DB driver returns an object of this class that has methods specific to the type of engine you connect to. DB_result The result set class. Statement-execution methods return an object of this class when a statement produces a result set. You can use the object to access data and metadata for the result. DB_Error This is the error class. Objects of this class support methods for obtaining diagnostic information when an error occurs.
|