D


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.



MySQL The definitive guide to using, programming, and administering MySQL 4. 1 and 5. 0
Mysql: the Definitive Guide to Using, Programming, and Administering Mysql 4.1 and 5.0
ISBN: B003A1PKHY
EAN: N/A
Year: 2004
Pages: 190
Authors: Paul Dubois

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net