package Default

 Methods

Buffer

buffer() : null
inherited_from \Zend\Db\Adapter\Driver\ResultInterface::buffer()

Returns

null

Count

count() : integer

(PHP 5 >= 5.1.0)
Count elements of an object

link http://php.net/manual/en/countable.count.php

Returns

integerThe custom count as an integer.

The return value is cast to an integer.

Current

current() : array | boolean | mixed

Returns

arraybooleanmixed

Get affected rows

getAffectedRows() : integer
inherited_from \Zend\Db\Adapter\Driver\ResultInterface::getAffectedRows()

Returns

integer

Get field count

getFieldCount() : integer
inherited_from \Zend\Db\Adapter\Driver\ResultInterface::getFieldCount()

Returns

integer

Get generated value

getGeneratedValue() : mixed | null
inherited_from \Zend\Db\Adapter\Driver\ResultInterface::getGeneratedValue()

Returns

mixednull

Get resource

getResource() 
inherited_from \Zend\Db\Adapter\Driver\ResultInterface::getResource()

Initialize

initialize($resource, $generatedValue) : void

Parameters

$resource

$generatedValue

Exceptions

\Zend\Db\Adapter\Exception\InvalidArgumentException

Is buffered

isBuffered() : false
inherited_from \Zend\Db\Adapter\Driver\ResultInterface::isBuffered()

Returns

false

Is query result

isQueryResult() : boolean
inherited_from \Zend\Db\Adapter\Driver\ResultInterface::isQueryResult()

Returns

boolean

Key

key() : integer | mixed

Returns

integermixed

Next

next() : void

Rewind

rewind() : void

Valid

valid() : boolean

Returns

boolean

 Properties

 

$count

$count : integer

Default

0
 

$generatedValue

$generatedValue : null | mixed

Default

null
 

$position

$position : integer

Default

0
 

$resource

$resource : resource

Default

null