Db/Adapter/Pdo/Ibm/Db2.php

Show: PublicProtectedPrivateinherited
Table of Contents
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-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Db  
Subpackage
Adapter  
Version
$Id$  

\Zend_Db_Adapter_Pdo_Ibm_Db2

Package: Zend_Db\Adapter
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertyprotected\Zend_Db_Adapter_Abstract $_adapter = null
Default valuenullDetails
Type
\Zend_Db_Adapter_Abstract

Methods

methodpublic__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
Parameters
NameTypeDescription
$adapter\Zend_Db_Adapter_Abstract
methodpublicdescribeTable(string $tableName, string $schemaName = null) : array

DB2 catalog lookup for describe table

Parameters
NameTypeDescription
$tableNamestring
$schemaNamestring

OPTIONAL

Returns
TypeDescription
array
methodpubliclastSequenceId(string $sequenceName) : integer

DB2-specific last sequence id

Parameters
NameTypeDescription
$sequenceNamestring
Returns
TypeDescription
integer
methodpubliclimit(string $sql, integer $count, integer $offset = 0) : string

Adds a DB2-specific LIMIT clause to the SELECT statement.

Parameters
NameTypeDescription
$sqlstring
$countinteger
$offsetinteger

OPTIONAL

Returns
TypeDescription
string
Throws
ExceptionDescription
\Zend_Db_Adapter_Exception
methodpubliclistTables() : array

Returns a list of the tables in the database.

Returns
TypeDescription
array
methodpublicnextSequenceId( $sequenceName) : integer

DB2-specific sequence id value

@param string $sequenceName
Parameters
NameTypeDescription
$sequenceName
Returns
TypeDescription
integer
Documentation was generated by phpDocumentor 2.2.0 .