package Default

 Methods

Begin transaction

beginTransaction() : \Zend\Db\Adapter\Driver\ConnectionInterface

Returns

\Zend\Db\Adapter\Driver\ConnectionInterface

Commit

commit() : \Zend\Db\Adapter\Driver\ConnectionInterface

Returns

\Zend\Db\Adapter\Driver\ConnectionInterface

Connect

connect() : \Zend\Db\Adapter\Driver\ConnectionInterface

Returns

\Zend\Db\Adapter\Driver\ConnectionInterface

Disconnect

disconnect() : \Zend\Db\Adapter\Driver\ConnectionInterface

Returns

\Zend\Db\Adapter\Driver\ConnectionInterface

Execute

execute(string $sql) : \Zend\Db\Adapter\Driver\ResultInterface

Parameters

$sql

string

Returns

\Zend\Db\Adapter\Driver\ResultInterface

Get current schema

getCurrentSchema() : string

Returns

string

Get last generated id

getLastGeneratedValue(null $name = null) : integer

Parameters

$name

null

Ignored

Returns

integer

Get resource

getResource() : mixed

Returns

mixed

Is connected

isConnected() : boolean

Returns

boolean

Rollback

rollback() : \Zend\Db\Adapter\Driver\ConnectionInterface

Returns

\Zend\Db\Adapter\Driver\ConnectionInterface