Methods

Constructor

__construct(array | resource | null $connectionInfo) 

Parameters

$connectionInfo

arrayresourcenull

Exceptions

\Zend\Db\Adapter\Exception\InvalidArgumentException

Execute

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

Parameters

$sql

string

Returns

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() : \oci8

Returns

\oci8

In transaction

inTransaction() : boolean

Returns

boolean

Is connected

isConnected() : boolean

Returns

boolean

Set connection parameters

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

Parameters

$connectionParameters

array

Returns

setDriver()

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

setProfiler()

setProfiler(\Zend\Db\Adapter\Profiler\ProfilerInterface $profiler) : \Zend\Db\Adapter\Driver\Oci8\Connection

Set resource

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

Parameters

$resource

resource

Returns

 Properties

 

Connection parameters

$connectionParameters : array

 

$driver

$driver : \Zend\Db\Adapter\Driver\Oci8\Oci8

 

In transaction

$inTransaction : boolean

   

$resource

$resource :