1.0 Doctrine_Adapter_Db2
Doctrine Adapter Db2
IBM DB2 Adapter. This class was ported from the Zend Framework
Method Summary
| Returns | Name | Description |
|---|---|---|
| closeConnection | ||
| string | getQuoteIdentifierSymbol | |
| Doctrine_Statement_Db2 | prepare | |
| setFetchMode | ||
| _beginTransaction | ||
| _commit | ||
| _connect | ||
| int | _getExecuteMode | |
| string | _quote | |
| _rollBack | ||
| _setExecuteMode | ||
| __construct | dbname => (string) The name of the database to user username => (string) Connect to the database as this username. password => (string) Password associated with the username. host => (string) What host to conne |
Method Details
-
closeConnection()
Close the connection resource
-
(string) getQuoteIdentifierSymbol()
Get the symbol used for identifier quoting
-
$sql The SQL statement with placeholders. (Doctrine_Statement_Db2) prepare($sql)
Prepare a sql statement and return it
-
setFetchMode($mode)
Set the fetch mode.
-
_beginTransaction()
Begin a transaction.
-
_commit()
Commit a transaction.
-
_connect()
Creates the connection resource
-
(int) _getExecuteMode()
Get the current execution mode
Doctrine_Adapter_Db2
-
$value Raw string (string) _quote($value)
Quote a raw string.
Doctrine_Adapter_Db2
-
_rollBack()
Rollback a transaction.
-
_setExecuteMode($mode)
Set the current execution mode
-
$config An array of configuration keys. __construct($config)
$config is an array of key/value pairs containing configuration options. These options are common to most adapters:
dbname => (string) The name of the database to user username => (string) Connect to the database as this username. password => (string) Password associated with the username. host => (string) What host to conne