Db/Adapter/Pdo/Ibm/Ids.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: Ids.php 24593 2012-01-05 20:35:02Z matthew $
\Zend_Db_Adapter_Pdo_Ibm_Ids
- 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) : voidConstruct 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 |

_getDataType(int $typeNo) : stringMap number representation of a data type to a string
| Name | Type | Description |
|---|---|---|
| $typeNo | int |
| Type | Description |
|---|---|
| string |

_getPrimaryInfo(int $tabid) : arrayHelper method to retrieve primary key column and column location
| Name | Type | Description |
|---|---|---|
| $tabid | int |
| Type | Description |
|---|---|
| array |

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

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

limit(string $sql, integer $count, integer $offset = 0) : stringAdds an IDS-specific LIMIT clause to the SELECT statement.
| Name | Type | Description |
|---|---|---|
| $sql | string | |
| $count | integer | |
| $offset | integer | OPTIONAL |
| Type | Description |
|---|---|
| string |
| Exception | Description |
|---|---|
| \Zend_Db_Adapter_Exception |