Db\ResultInterface

Interface Phalcon\Db\ResultInterface

Phalcon\Db\ResultInterface initializer

Methods

abstract public boolean execute ()

Allows to executes the statement again. Some database systems don’t support scrollable cursors, So, as cursors are forward only, we need to execute the cursor again to fetch rows from the begining

abstract public mixed fetch ()

Fetches an array/object of strings that corresponds to the fetched row, or FALSE if there are no more rows. This method is affected by the active fetch flag set using Phalcon\Db\Result\Pdo::setFetchMode

abstract public mixed fetchArray ()

Returns an array of strings that corresponds to the fetched row, or FALSE if t