Zend\Db\Adapter\Driver\Pgsql\Pgsql
Synopsis
class Pgsql
implements
DriverInterface,ProfilerAwareInterface
{
- // members
- protected Connection $connection;
- protected Statement $statementPrototype;
- protected Result $resultPrototype;
- protected ProfilerInterface $profiler;
- protected array $options;
- // methods
- public void __construct()
- public void setProfiler()
- public ProfilerInterface getProfiler()
- public Pgsql registerConnection()
- public Pgsql registerStatementPrototype()
- public Pgsql registerResultPrototype()
- public string getDatabasePlatformName()
- public bool checkEnvironment()
- public Connection getConnection()
- public Statement createStatement()
- public Result createResult()
- public array getPrepareType()
- public string formatParameterName()
- public mixed getLastGeneratedValue()
Hierarchy
Constants
Name | Value |
---|---|
PARAMETERIZATION_POSITIONAL | 'positional' |
PARAMETERIZATION_NAMED | 'named' |
NAME_FORMAT_CAMELCASE | 'camelCase' |
NAME_FORMAT_NATURAL | 'natural' |
Members
protected
- $connection — Zend\Db\Adapter\Driver\Pgsql\Connection
- $options — array
- $profiler — Zend\Db\Adapter\Driver\Pgsql\null|Profiler\ProfilerInterface
- $resultPrototype — Zend\Db\Adapter\Driver\Pgsql\Result
- $statementPrototype — Zend\Db\Adapter\Driver\Pgsql\Statement
Methods
public
- __construct() — Constructor
- checkEnvironment() — Check environment
- createResult() — Create result
- createStatement() — Create statement
- formatParameterName() — Format parameter name
- getConnection() — Get connection
- getDatabasePlatformName() — Get database platform name
- getLastGeneratedValue() — Get last generated value
- getPrepareType() — Get prepare Type
- getProfiler()
- registerConnection() — Register connection
- registerResultPrototype() — Register result prototype
- registerStatementPrototype() — Register statement prototype
- setProfiler()