API Documentation

Zend/Db/Adapter/Pdo/Ibm/Db2.php

Show: inherited
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 license@zend.com 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 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Db_Adapter_Pdo_Ibm_Db2

Package: Zend\Db\Adapter

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

Propertyprotected\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
Name Type Description
$adapter \Zend_Db_Adapter_Abstract
methodpublicdescribeTable( string $tableName, string $schemaName = null ) : array

DB2 catalog lookup for describe table

Parameters
Name Type Description
$tableName string
$schemaName string

OPTIONAL

Returns
Type Description
array
methodpubliclastSequenceId( string $sequenceName ) : integer

DB2-specific last sequence id

Parameters
Name Type Description
$sequenceName string
Returns
Type Description
integer
methodpubliclimit( string $sql, integer $count, integer $offset = 0 ) : string

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

Parameters
Name Type Description
$sql string
$count integer
$offset integer

OPTIONAL

Returns
Type Description
string
Throws
Exception Description
\Zend_Db_Adapter_Exception
methodpubliclistTables( ) : array

Returns a list of the tables in the database.

Returns
Type Description
array
methodpublicnextSequenceId(  $sequenceName ) : integer

DB2-specific sequence id value

@param string $sequenceName

Parameters
Name Type Description
$sequenceName
Returns
Type Description
integer
Documentation was generated by DocBlox 0.15.1.