category Zend
package Zend_Db
subpackage Adapter

 Methods

__construct()

__construct(\Zend\Db\Adapter\Driver\DriverInterface | array $driver, \Zend\Db\Adapter\Platform\PlatformInterface $platform, \Zend\Db\ResultSet\ResultSetInterface $queryResultPrototype) 

Create statement

createStatement(string $initialSql, \Zend\Db\Adapter\ParameterContainer $initialParameters) : \Zend\Db\Adapter\Driver\StatementInterface

Parameters

$initialSql

string

Returns

getCurrentSchema()

getCurrentSchema() 

getHelpers()

getHelpers() 

getQueryResultSetPrototype()

getQueryResultSetPrototype() : \Zend\Db\ResultSet\ResultSetInterface

query() is a convenience function

query(string $sql, string | array $parametersOrQueryMode) : \Zend\Db\Adapter\Driver\StatementInterface | \Zend\Db\ResultSet\ResultSet

createDriverFromParameters()

createDriverFromParameters(array $parameters) : \Zend\Db\Adapter\Driver\DriverInterface

createPlatformFromDriver()

createPlatformFromDriver(\Zend\Db\Adapter\Driver\DriverInterface $driver) : \Zend\Db\Adapter\Platform\PlatformInterface

 Properties

 

$driver

$driver : \Zend\Db\Adapter\Driver\DriverInterface

magic
property
 

$platform

$platform : \Zend\Db\Adapter\Platform\PlatformInterface

magic
property
   

$lastPreparedStatement

$lastPreparedStatement : \Zend\Db\Adapter\Driver\StatementInterface

   

$queryResultSetPrototype

$queryResultSetPrototype : \Zend\Db\ResultSet\ResultSetInterface

 Constants

 

FUNCTION_FORMAT_PARAMETER_NAME

FUNCTION_FORMAT_PARAMETER_NAME 

 

FUNCTION_QUOTE_IDENTIFIER

FUNCTION_QUOTE_IDENTIFIER 

 

FUNCTION_QUOTE_VALUE

FUNCTION_QUOTE_VALUE 

 

PREPARE_TYPE_NAMED

PREPARE_TYPE_NAMED 

 

Prepare Type Constants

PREPARE_TYPE_POSITIONAL 

 

Query Mode Constants

QUERY_MODE_EXECUTE 

 

QUERY_MODE_PREPARE

QUERY_MODE_PREPARE 

 

VALUE_QUOTE_SEPARATOR

VALUE_QUOTE_SEPARATOR