Db/Adapter/Pdo/Ibm/Db2.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Db
- Subpackage
- Adapter
- Version
- $Id: Db2.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Db_Adapter_Pdo_Ibm_Db2
Package: Zend\Db\Adapter
Parameters
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Properties
Methods


__construct(\Zend_Db_Adapter_Abstract $adapter) : void
Construct the data server class.
It will be used to generate non-generic SQL for a particular data server
Name | Type | Description |
---|---|---|
$adapter | \Zend_Db_Adapter_Abstract |


describeTable(string $tableName, string $schemaName = null) : array
DB2 catalog lookup for describe table
Parameters
Returns
Name | Type | Description |
---|---|---|
$tableName | string | |
$schemaName | string | OPTIONAL |
Type | Description |
---|---|
array |


lastSequenceId(string $sequenceName) : integer
DB2-specific last sequence id
Parameters
Returns
Name | Type | Description |
---|---|---|
$sequenceName | string |
Type | Description |
---|---|
integer |


limit(string $sql, integer $count, integer $offset = 0) : string
Adds a DB2-specific LIMIT clause to the SELECT statement.
Parameters
Returns
Throws
Name | Type | Description |
---|---|---|
$sql | string | |
$count | integer | |
$offset | integer | OPTIONAL |
Type | Description |
---|---|
string |
Exception | Description |
---|---|
\Zend_Db_Adapter_Exception |