Zend\Db\Adapter\Driver\IbmDb2\Connection
Synopsis
class Connection
implements
ConnectionInterface,ProfilerAwareInterface
{
- // members
- protected IbmDb2 $driver;
- protected array $connectionParameters;
- protected resource $resource;
- protected ProfilerInterface $profiler;
- // methods
- public void __construct()
- public Connection setDriver()
- public Connection setProfiler()
- public ProfilerInterface getProfiler()
- public Connection setConnectionParameters()
- public array getConnectionParameters()
- public Connection setResource()
- public string getCurrentSchema()
- public mixed getResource()
- public ConnectionInterface connect()
- public bool isConnected()
- public ConnectionInterface disconnect()
- public ConnectionInterface beginTransaction()
- public ConnectionInterface commit()
- public ConnectionInterface rollback()
- public Result execute()
- public int getLastGeneratedValue()
Hierarchy
Implements
Members
protected
- $connectionParameters — array
- $driver — Zend\Db\Adapter\Driver\IbmDb2\IbmDb2
- $profiler — Zend\Db\Adapter\Driver\IbmDb2\Profiler\ProfilerInterface
- $resource — resource
Methods
public
- __construct() — Constructor
- beginTransaction() — Begin transaction
- commit() — Commit
- connect() — Connect
- disconnect() — Disconnect
- execute() — Execute
- getConnectionParameters()
- getCurrentSchema() — Get current schema
- getLastGeneratedValue() — Get last generated id
- getProfiler()
- getResource() — Get resource
- isConnected() — Is connected
- rollback() — Rollback
- setConnectionParameters()
- setDriver() — Set driver
- setProfiler()
- setResource()