QueryBuilder class

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

fields({List<String>? includes, List<String>? excludes}) → void
Query Response include or exclude document fields
filter(String fieldName, {dynamic isGreaterThan, dynamic isGreaterOrEqualThan, dynamic isLessThan, dynamic isLessOrEqualThan}) → void
{"name" : "x" , "age" : 15} , {"name" : "y" , "age" : 20} , {"name" : "z" , "age" : 25}
limit(int limit) → void
Document Limit for list query
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(int offset) → void
Document Skip count on start for list query
sort(String fieldName, Sorting sorting) → void
{"name" : "x" , "age" : 15} , {"name" : "y" , "age" : 20} , {"name" : "z" , "age" : 25}
toQuery(QueryType type, {AccessToken? token, bool allowAll = false}) Query
toString() String
A string representation of this object.
inherited
where(String fieldName, {dynamic isEqualTo, dynamic isNotEqualTo}) → void
{ "a" : "b" } , { "a" : "c" } , {"a" : "d" , "arg" : { "1" : "2"}}

Operators

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