Query<T> class
A repeatable Query returning the latest matching Objects.
Use find or related methods to fetch the latest results from the BoxStore.
Use property to only return values or an aggregate of a single Property.
Properties
Methods
-
close(
) → void - Close the query and free resources.
-
count(
) → int - Returns the number of matching Objects.
-
describe(
) → String - For internal testing purposes.
-
describeParameters(
) → String - For internal testing purposes.
-
doubleProperty(
QueryProperty qp ) → DoublePropertyQuery - See property for details.
-
find(
{int offset: 0, int limit: 0} ) → List< T> - Finds Objects matching the query. [...]
-
findFirst(
) → T - Finds Objects matching the query and returns the first result or null if there are no results.
-
findIds(
{int offset: 0, int limit: 0} ) → List< int> - Finds Objects matching the query and returns their IDs. [...]
-
integerProperty(
QueryProperty qp ) → IntegerPropertyQuery - See property for details.
-
limit(
int limit ) → void -
Configure a
limit
for this query. [...] -
offset(
int offset ) → void -
Configure an
offset
for this query. [...] -
property<
PQ extends PropertyQuery> (QueryProperty qp ) → PQ -
Creates a property query for the given property
qp
. [...] -
stringProperty(
QueryProperty qp ) → StringPropertyQuery - See property for details.
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other ) → bool -
The equality operator. [...]
inherited