category Zend
package Zend_Db
subpackage Adapter

 Methods

Constructor

__construct(array | \Zend\Db\Adapter\Driver\Mysqli\mysqli | null $connectionInfo) 

Parameters

$connectionInfo

array\Zend\Db\Adapter\Driver\Mysqli\mysqlinull

Exceptions

\Zend\Db\Adapter\Exception\InvalidArgumentException

Begin transaction

beginTransaction() : void

Commit

commit() : void

Connect

connect() : void

Disconnect

disconnect() : void

Get connection parameters

getConnectionParameters() : array

Returns

array

Get current schema

getCurrentSchema() : string

Returns

string

Get last generated id

getLastGeneratedValue(null $name) : integer

Parameters

$name

null

Ignored

Returns

integer

Get resource

getResource() : \mysqli

Returns

Is connected

isConnected() : bool

Returns

bool

Set connection parameters

setConnectionParameters(array $connectionParameters) : \Zend\Db\Adapter\Driver\Mysqli\Connection

Parameters

$connectionParameters

array

Returns

setDriver()

setDriver(\Zend\Db\Adapter\Driver\Mysqli\Mysqli $driver) : \Zend\Db\Adapter\Driver\Mysqli\Connection

Set resource

setResource(\mysqli $resource) : \Zend\Db\Adapter\Driver\Mysqli\Connection

Parameters

$resource

\Zend\Db\Adapter\Driver\Mysqli\mysqli

Returns

 Properties

 

Connection parameters

$connectionParameters : array

   

In transaction

$inTransaction : bool

 

$resource

$resource : \mysqli