Development Doctrine_Adapter_Db2
Doctrine Adapter Db2
Doctrine_Adapter_Db2 IBM DB2 Adapter [BORROWED FROM 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 | $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. |
Method Details
-
closeConnection()
Force the connection to close.
-
(string) getQuoteIdentifierSymbol()
-
$sql The SQL statement with placeholders. (Doctrine_Statement_Db2) prepare($sql)
Returns an SQL statement for preparation.
-
setFetchMode($mode)
Set the fetch mode.
-
_beginTransaction()
Begin a transaction.
-
_commit()
Commit a transaction.
-
_connect()
Creates a connection resource.
-
(int) _getExecuteMode()
Gets the execution mode
Doctrine_Adapter_Db2
-
$value Raw string (string) _quote($value)
Quote a raw string.
Doctrine_Adapter_Db2
-
_rollBack()
Rollback a transaction.
-
_setExecuteMode($mode)
-
$config An array of configuration keys. __construct($config)
Constructor.
$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.