onPHP

MySQL Class Reference

 

MySQL Class Reference
[Connectors and dialects for various databases]

MySQL DB connector. More...

Inheritance diagram for MySQL:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 asyncQuery (Query $query)
 isBusy ()
 setEncoding ($encoding)
 connect ($user, $pass, $host, $base=null, $persistent=false)
 disconnect ()
 queryCount (Query $query)
 Same as query, but returns number of affected rows in insert/update queries.
 queryObjectRow (Query $query, GenericDAO $dao)
 queryRow (Query $query)
 queryObjectSet (Query $query, GenericDAO $dao)
 queryColumn (Query $query)
 querySet (Query $query)
 queryRaw ($queryString)

Static Public Member Functions

static getDialect ()

Protected Member Functions

 getInsertId ()

Protected Attributes

 $queueSupported = false

Private Member Functions

 checkSingle ($result)

Detailed Description

MySQL DB connector.

See also:
http://www.mysql.com/

Definition at line 20 of file MySQL.class.php.


Member Function Documentation

static MySQL::getDialect (  )  [static]

Reimplemented from DB.

Definition at line 24 of file MySQL.class.php.

References MyDialect::me().

Here is the call graph for this function:

MySQL::asyncQuery ( Query query  ) 

Reimplemented from DB.

Definition at line 29 of file MySQL.class.php.

MySQL::isBusy (  ) 

Reimplemented from DB.

Definition at line 34 of file MySQL.class.php.

MySQL::setEncoding ( encoding  ) 

Definition at line 39 of file MySQL.class.php.

MySQL::connect ( user,
pass,
host,
base = null,
persistent = false 
)

Reimplemented from DB.

Definition at line 44 of file MySQL.class.php.

References DB::$persistent.

MySQL::disconnect (  ) 

Reimplemented from DB.

Definition at line 65 of file MySQL.class.php.

References DB::isConnected().

Here is the call graph for this function:

MySQL::queryCount ( Query query  ) 

Same as query, but returns number of affected rows in insert/update queries.

Reimplemented from DB.

Definition at line 77 of file MySQL.class.php.

References Sequenceless::query().

Here is the call graph for this function:

MySQL::queryObjectRow ( Query query,
GenericDAO dao 
)

Reimplemented from DB.

Definition at line 82 of file MySQL.class.php.

References checkSingle(), GenericDAO::makeObject(), and Sequenceless::query().

Here is the call graph for this function:

MySQL::queryRow ( Query query  ) 

Reimplemented from DB.

Definition at line 93 of file MySQL.class.php.

References checkSingle(), and Sequenceless::query().

Here is the call graph for this function:

MySQL::queryObjectSet ( Query query,
GenericDAO dao 
)

Reimplemented from DB.

Definition at line 103 of file MySQL.class.php.

References GenericDAO::makeObject(), and Sequenceless::query().

Here is the call graph for this function:

MySQL::queryColumn ( Query query  ) 

Reimplemented from DB.

Definition at line 119 of file MySQL.class.php.

References Sequenceless::query().

Here is the call graph for this function:

MySQL::querySet ( Query query  ) 

Reimplemented from DB.

Definition at line 134 of file MySQL.class.php.

References Sequenceless::query().

Here is the call graph for this function:

MySQL::queryRaw ( queryString  ) 

Reimplemented from DB.

Definition at line 149 of file MySQL.class.php.

MySQL::getInsertId (  )  [protected]

Reimplemented from Sequenceless.

Definition at line 169 of file MySQL.class.php.

MySQL::checkSingle ( result  )  [private]

Definition at line 174 of file MySQL.class.php.

Referenced by queryObjectRow(), and queryRow().


Member Data Documentation

MySQL::$queueSupported = false [protected]

Reimplemented from DB.

Definition at line 22 of file MySQL.class.php.


The documentation for this class was generated from the following file:

generated by doxygen-1.5.1
for onPHP at Mon Jan 8 11:43:32 2007