category Zend
package Zend_Db
subpackage Adapter

 Methods

Check environment

checkEnvironment() : bool

Returns

bool

Create result

createResult(resource $resource) : \Zend\Db\Adapter\Driver\ResultInterface

Parameters

$resource

resource

Returns

Create statement

createStatement(string | resource $sqlOrResource) : \Zend\Db\Adapter\Driver\StatementInterface

Parameters

$sqlOrResource

stringresource

Returns

Format parameter name

formatParameterName(string $name, mixed $type) : string

Parameters

$name

string

$type

mixed

Returns

string

Get database platform name

getDatabasePlatformName(string $nameFormat) : string

Parameters

$nameFormat

string

Returns

string

Get last generated value

getLastGeneratedValue() : mixed

Returns

mixed

Get prepare type

getPrepareType() : array

Returns

array

 Constants

 

NAME_FORMAT_CAMELCASE

NAME_FORMAT_CAMELCASE 

 

NAME_FORMAT_NATURAL

NAME_FORMAT_NATURAL 

 

PARAMETERIZATION_NAMED

PARAMETERIZATION_NAMED 

 

PARAMETERIZATION_POSITIONAL

PARAMETERIZATION_POSITIONAL