FirestoreQuery class
Class for sending queries to the model.
Basically, it allows you to send the same query as Firestore.
- Inheritance
-
- Object
- ModelQuery
- FirestoreQuery
- Annotations
Constructors
-
FirestoreQuery(String path, {String? key, String? orderBy, dynamic isEqualTo, dynamic isNotEqualTo, dynamic isLessThanOrEqualTo, dynamic isGreaterThanOrEqualTo, dynamic arrayContains, DynamicList? arrayContainsAny, DynamicList? whereIn, DynamicList? whereNotIn, List<
String> ? geoHash, ModelQueryOrder order = ModelQueryOrder.asc, int? limit}) -
Class for sending queries to the model.
const
Properties
- arrayContains → dynamic
-
If this value is in the key array,
true
.finalinherited - arrayContainsAny → DynamicList?
-
If the key array contains one of these values,
true
.finalinherited -
geoHash
→ List<
String> ? -
Check if it is geo hash the range on the position.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEqualTo → dynamic
-
If the value of key is equal to this value,
true
.finalinherited - isGreaterThanOrEqualTo → dynamic
-
If the value of key is greater than this value,
true
.finalinherited - isLessThanOrEqualTo → dynamic
-
If the value of key is less than this value,
true
.finalinherited - isNotEqualTo → dynamic
-
If the value of key is not equal to this value,
true
.finalinherited - key → String?
-
Key for comparison.
finalinherited
- limit → int?
-
Limit the number to be acquired.
finalinherited
- order → ModelQueryOrder
-
Specify ascending or descending order.
finalinherited
- orderBy → String?
-
Key to change the order.
finalinherited
- path → String
-
Query path.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
Convert all Query to String parameters.
no setterinherited
- whereIn → DynamicList?
-
If the value of key is equal to one of these values,
true
.finalinherited - whereNotIn → DynamicList?
-
If the value of key is not equal to all of these values,
true
.finalinherited
Methods
-
check(
Object? data) → bool -
Check if the condition is satisfied by passing
data
.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