Class Result

Summary

Fully Qualified Name: Laminas\Db\Adapter\Driver\Mysqli\Result
Implements: Iterator, ResultInterface

Description

Methods

Name Description Defined By
buffer() Force buffering Result
count() Count Result
current() Current Result
getAffectedRows() Get affected rows Result
getFieldCount() Get field count Result
getGeneratedValue() Get generated value Result
getResource() Return the resource Result
initialize() Initialize Result
isBuffered() Check if is buffered Result
isQueryResult() Is query result? Result
key() Key Result
next() Next Result
rewind() Rewind Result
valid() Valid Result

Method Details

buffer()

Force buffering

Returns:

count()

Count

Returns: int

current()

Current

Returns: mixed

getAffectedRows()

Get affected rows

Returns: int

getFieldCount()

Get field count

Returns: int

getGeneratedValue()

Get generated value

Returns: mixed|null

getResource()

Return the resource

Returns: mixed

initialize()

Initialize

Parameter Name Type Description
$resource mixed
$generatedValue mixed
$isBuffered bool|null

Returns: self Provides a fluent interface

isBuffered()

Check if is buffered

Returns: bool|null

isQueryResult()

Is query result?

Returns: bool

key()

Key

Returns: mixed

next()

Next

Returns: void

rewind()

Rewind

Returns: void

valid()

Valid

Returns: bool

Top