Zend\Db\Adapter\Driver\Mysqli\Result
Synopsis
class Result
implements
Iterator,ResultInterface
{
- // members
- protected mysqli_stmt $resource;
- protected bool $isBuffered;
- protected integer $position;
- protected integer $numberOfRows;
- protected bool $currentComplete;
- protected bool $nextComplete;
- protected bool $currentData;
- protected array $statementBindValues;
- protected mixed $generatedValue;
- // methods
- public Result initialize()
- public void buffer()
- public bool|null isBuffered()
- public mixed getResource()
- public bool isQueryResult()
- public int getAffectedRows()
- public mixed current()
- protected bool loadDataFromMysqliStatement()
- protected bool loadFromMysqliResult()
- public void next()
- public mixed key()
- public void rewind()
- public bool valid()
- public int count()
- public int getFieldCount()
- public mixed|null getGeneratedValue()
Hierarchy
Implements
Members
protected
- $currentComplete
—
Zend\Db\Adapter\Driver\Mysqli\bool
Is the current() operation already complete for this pointer position? - $currentData — Zend\Db\Adapter\Driver\Mysqli\bool
- $generatedValue — mixed
- $isBuffered — Zend\Db\Adapter\Driver\Mysqli\bool
- $nextComplete — Zend\Db\Adapter\Driver\Mysqli\bool
- $numberOfRows
—
int
Number of known rows - $position
—
int
Cursor position - $resource — \mysqli|\mysqli_result|\mysqli_stmt
- $statementBindValues — array
Methods
protected
- loadDataFromMysqliStatement() — Mysqli's binding and returning of statement values
- loadFromMysqliResult() — Load from mysqli result
public
- buffer() — Force buffering
- count() — Count
- current() — Current
- getAffectedRows() — Get affected rows
- getFieldCount() — Get field count
- getGeneratedValue() — Get generated value
- getResource() — Return the resource
- initialize() — Initialize
- isBuffered() — Check if is buffered
- isQueryResult() — Is query result?
- key() — Key
- next() — Next
- rewind() — Rewind
- valid() — Valid