Zend\Db\Adapter\Driver\Pgsql\Connection
Synopsis
class Connection
implements
ConnectionInterface,ProfilerAwareInterface
{
- // members
- protected Pgsql $driver;
- protected ProfilerInterface $profiler;
- protected array $connectionParameters;
- protected resource $resource;
- protected bool $inTransaction;
- // methods
- public void __construct()
- public Connection setConnectionParameters()
- public Connection setDriver()
- public Connection setProfiler()
- public ProfilerInterface getProfiler()
- public Connection setResource()
- public null|string getCurrentSchema()
- public resource getResource()
- public Connection connect()
- public bool isConnected()
- public void disconnect()
- public void beginTransaction()
- public bool inTransaction()
- public void commit()
- public void rollback()
- public ResultSetInterface execute()
- public string getLastGeneratedValue()
Hierarchy
Implements
Members
protected
- $connectionParameters
—
array
Connection parameters - $driver — Zend\Db\Adapter\Driver\Pgsql\Pgsql
- $inTransaction
—
Zend\Db\Adapter\Driver\Pgsql\bool
In transaction - $profiler — Zend\Db\Adapter\Driver\Pgsql\Profiler\ProfilerInterface
- $resource — resource
Methods
public
- __construct() — Constructor
- beginTransaction()
- commit()
- connect() — Connect to the database
- disconnect()
- execute()
- getCurrentSchema() — Get current schema
- getLastGeneratedValue()
- getProfiler()
- getResource() — Get resource
- inTransaction() — In transaction
- isConnected()
- rollback()
- setConnectionParameters() — Set connection parameters
- setDriver() — Set driver
- setProfiler()
- setResource() — Set resource