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