Class Result

Summary

Fully Qualified Name: Zend\Db\Adapter\Driver\IbmDb2\Result
Implements: ResultInterface

Description

Methods

Name Description Defined By
buffer() Force buffering Result
count() Result
current() (PHP 5 >= 5.0.0)
Return the current element
Result
getAffectedRows() Get affected rows Result
getFieldCount() Get field count Result
getGeneratedValue() Get generated value Result
getResource() Get the resource Result
initialize() Result
isBuffered() Check if is buffered Result
isQueryResult() Is query result? Result
key() Result
next() Result
rewind() (PHP 5 >= 5.0.0)
Rewind the Iterator to the first element
Result
valid() Result

Method Details

buffer()

Force buffering

Returns: void

count()

Returns: null|int

current()

(PHP 5 >= 5.0.0)
Return the current element

Returns: mixed Can return any type.

getAffectedRows()

Get affected rows

Returns: int

getFieldCount()

Get field count

Returns: int

getGeneratedValue()

Get generated value

Returns: mixed|null

getResource()

Get the resource

Returns: mixed

initialize()

Parameter Name Type Description
$resource resource
$generatedValue mixed

Returns: self Provides a fluent interface

isBuffered()

Check if is buffered

Returns: bool|null

isQueryResult()

Is query result?

Returns: bool

key()

Returns: int|string

next()

Returns: mixed

rewind()

(PHP 5 >= 5.0.0)
Rewind the Iterator to the first element

Returns: void Any returned value is ignored.

valid()

Returns: bool

Top