IteratingCursor class abstract

A Cursor that can only be read once, obtaining rows from the database "on the fly" as moveNext is called.

This class provides columnNames and tableNames. Since sqlite3 statements are dynamically re-compiled by sqlite3 in response to schema changes, column names might change in the first call to moveNext. So, these getters are only reliable after moveNext was called once (regardless of its return value).

Inheritance
Implemented types

Constructors

IteratingCursor(List<String> columnNames, List<String?>? tableNames)

Properties

columnNames List<String>
The column names of this query, as returned by sqlite3.
getter/setter pairinherited
current Row
The current element.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableNames List<String?>?
The table names of this query, as returned by sqlite3.
finalinherited

Methods

moveNext() bool
Advances the iterator to the next element of the iteration.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited