Query class
- Inheritance
-
- Object
- QueryableReference
- Query
Constructors
-
Query(HopDocClient client, dynamic index, Map<
String, dynamic> _compoundQuery, String _field, {String? isEqualTo, int? isGreaterThan, int? isGreaterThanOrEqualTo, int? isLessThan, int? isLessThanOrEqualTo, String? contains, GeoDistanceQuery? isWithinRadius, GeoBoxQuery? isWithinBox, int? at, Document? after, int? limit, String? orderBy, bool addId = false, bool nanoDate = false})
Properties
- addId ↔ bool
-
getter/setter pair
- client ↔ HopDocClient
-
getter/setter pairinherited
-
compoundBody
→ Map<
String, dynamic> -
no setteroverride
- containsBody → List
-
no setter
-
equalToBody
→ Map<
String, dynamic> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index ↔ String
-
getter/setter pairinherited
- nanoDate ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
comparisonBody(
String comparison) → Map< String, dynamic> -
docInQuery(
Map< String, dynamic> doc) → bool -
inherited
-
geoBoxBody(
GeoBoxQuery query) → Map< String, dynamic> -
geoDistanceBody(
GeoDistanceQuery query) → Map< String, dynamic> -
get(
{int? size, bool onlyIds = false}) → Future< IndexSnapshot> -
inherited
-
getWidget(
{required Widget onData(List< Document> ), required Widget onError(String), required Widget onLoading()}) → Widget -
inherited
-
limit(
int number) → Query -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
orderBy(
{required String field, String order = "asc", bool addId = true}) → Query -
inherited
-
start(
{int? at, Document? after, bool nanoDate = false}) → Query -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
where(
String field, {String? isEqualTo, int? isGreaterThan, int? isGreaterThanOrEqualTo, int? isLessThan, int? isLessThanOrEqualTo, String? contains}) → Query -
inherited
-
withinBox(
{required GeoPoint topLeft, required GeoPoint bottomRight, required String field}) → Query -
inherited
-
withinRadius(
{required GeoPoint center, required String radius, required String field}) → Query -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited