QueryBuilder<T extends ParseObject> class
Class to create complex queries
Constructors
- QueryBuilder(T object)
- Class to create complex queries
-
QueryBuilder.copy(QueryBuilder<
T> query) - QueryBuilder.name(String classname)
-
QueryBuilder.or(T object, List<
QueryBuilder< list)T> >
Properties
Methods
-
buildQueries(
List< MapEntry< queries) → StringString, dynamic> > - Runs through all queries and adds them to a query string
-
buildQuery(
) → String - Builds the query for Parse
-
concatenateArray(
List< String> queries) → String -
count(
) → Future< ParseResponse> - Counts the number of objects that match this query
-
distinct<
T extends ParseObject> (String className) → Future< ParseResponse> -
dontSelectKeys(
String column, dynamic value) → void - Returns an object where the String column doesn't select
-
excludeKeys(
List< String> keys) → void - Exclude specific fields from the returned query [...]
-
getLimiters(
Map< String, dynamic> map) → String - Adds the limiters to the query, i.e. skip=10, limit=10
-
getLimitersRelational(
Map< String, dynamic> map) → String - Adds the limiters to the query relational, i.e. skip=10, limit=10
-
includeObject(
List< String> objectTypes) → void - Includes other ParseObjects stored as a Pointer
-
keysToReturn(
List< String> keys) → void - Define which keys in an object to return. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
orderByAscending(
String order) → void - Sorts the results in ascending order. [...]
-
orderByDescending(
String order) → void - Sorts the results descending order. [...]
-
query<
T extends ParseObject> ({ProgressCallback progressCallback}) → Future< ParseResponse> - Finishes the query and calls the server [...]
-
regEx(
String column, String value) → void - Returns an object where the String column has a regEx performed on, this can include ^StringsWith, or ^EndsWith. This can be manipulated to the users desire
-
selectKeys(
String column, dynamic value) → void - Returns an object where the String column contains select
-
setAmountToSkip(
int skip) → void - Useful for pagination, skips int amount of results
-
setLimit(
int limit) → void - Adds a limit to amount of results return from Parse
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
whereArrayContainsAll(
String column, List value) → void - Returns an object where the String column contains all
-
whereContainedIn(
String column, List value) → void - Returns an object where the String column is containedIn
-
whereContains(
String column, String value, {bool caseSensitive = false}) → void - Performs a search to see if String contains other string
-
whereContainsWholeWord(
String column, String query, {bool caseSensitive = false, bool orderByScore = true}) → void - Powerful search for containing whole words. This search is much quicker than regex and can search for whole words including wether they are case sensitive or not. This search can also order by the score of the search
-
whereDoesNotMatchKeyInQuery(
String column, String keyInQuery, QueryBuilder< ParseObject> query) → void -
whereDoesNotMatchQuery(
String column, QueryBuilder< ParseObject> query) → void -
whereEndsWith(
String column, String query, {bool caseSensitive = false}) → void -
Returns an object where the String column ends with
value
-
whereEquals(
String where) → void - Creates a query based on where
-
whereEqualTo(
String column, dynamic value) → void -
Returns an object where the String column equals
value
-
whereGreaterThan(
String column, dynamic value) → void - Returns an object where the String column contains a value greater than value
-
whereGreaterThanOrEqualsTo(
String column, dynamic value) → void - Returns an object where the String column contains a value greater than equal to value
-
whereLessThan(
String column, dynamic value) → void - Returns an object where the String column contains a value less than value
-
whereLessThanOrEqualTo(
String column, dynamic value) → void - Returns an object where the String column contains a value less or equal to than value
-
whereMatchesKeyInQuery(
String column, String keyInQuery, QueryBuilder< ParseObject> query) → void -
whereMatchesQuery(
String column, QueryBuilder< ParseObject> query) → void -
whereNear(
String column, ParseGeoPoint point) → void - Returns an objects with key point values near the point given
-
whereNotContainedIn(
String column, List value) → void - Returns an object where the String column is notContainedIn
-
whereNotEqualTo(
String column, dynamic value) → void - Returns an object where the String column is not equal to value
-
whereRelatedTo(
String column, String className, String objectId) → void - Retrieves related objets where String column is a relation field to the class String className
-
whereStartsWith(
String column, String query, {bool caseSensitive = false}) → void -
Returns an object where the String column starts with
value
-
whereValueExists(
String column, bool value) → void - Returns an object where the String column for the object has data correctly entered/saved
-
whereWithinGeoBox(
String column, ParseGeoPoint southwest, ParseGeoPoint northeast) → void - Returns an object with key point values contained within a given rectangular geographic bounding box.
-
whereWithinKilometers(
String column, ParseGeoPoint point, double maxDistance) → void - Returns an object with key point values near the point given and within the maximum distance given.
-
whereWithinMiles(
String column, ParseGeoPoint point, double maxDistance) → void - Returns an object with key point values near the point given and within the maximum distance given.
-
whereWithinRadians(
String column, ParseGeoPoint point, double maxDistance) → void - Returns an object with key point values near the point given and within the maximum distance given.
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited