DbQuery class

A query over a node: an ordering, optional bounds, and an optional limit.

Immutable — each method returns a new query, so a base can be shared.

Constructors

DbQuery()
The whole node, unordered.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

endAt(Object? value, {String? key}) DbQuery
equalTo(Object? value, {String? key}) DbQuery
Exactly value. Cannot be combined with startAt or endAt: it is both of them at once, so pairing them is a contradiction rather than a narrowing, and the native side refuses it.
limitToFirst(int n) DbQuery
The first n in the ordering. Cannot be combined with limitToLast.
limitToLast(int n) DbQuery
The last n in the ordering.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderByChild(String path) DbQuery
Orders by a child field, which every bound is then measured against.
orderByKey() DbQuery
orderByPriority() DbQuery
orderByValue() DbQuery
startAt(Object? value, {String? key}) DbQuery
Starts at value, optionally disambiguated by a child key.
toString() String
A string representation of this object.
inherited

Operators

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