ExprDataSet class abstract

Corresponds to Pascal TmyParser Corresponds to Delphi's TDataSet/TField: the evaluator can register datasets, and expressions read values via Dataset.COUNT / .BOF / .EOF / .STATE / .field (FindField).

Constructors

ExprDataSet()

Properties

bof → bool
Whether the cursor is before the first record.
no setter
eof → bool
Whether the cursor is after the last record.
no setter
hashCode → int
The hash code for this object.
no setterinherited
recordCount → int
Number of records.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
Edit state: BROWSE, EDIT, INSERT or INACTIVE.
no setter

Methods

fieldValue(String name) → dynamic
Value of field name in the current record.
fieldValueAt(int index) → dynamic
Value of the field at 0-based index in the current record.
hasField(String name) → bool
Whether the dataset has a field called name.
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