On this page, you will find more information about the libSQL Iterator and available functions.
LibSQLIterator
class provides an interface for iterating over query results in a LibSQLResult
object. It implements the PHP Iterator
interface, allowing it to be used in foreach
loops for sequential access to query rows.
current
array
- The current row, as an associative or numerical array, depending on the fetch mode.key
int
- The zero-based index of the current row in the result set.next
void
rewind
void
valid
bool
- true
if the pointer is valid; false
otherwise.