whereMatchesKeyInQuery method

void whereMatchesKeyInQuery(
  1. String key,
  2. String keyInQuery,
  3. ParseQuery<ParseObject> query
)

Add a constraint to the query that requires a particular key's value matches a value for a key in the results of another ParseQuery.

Implementation

void whereMatchesKeyInQuery(String key, String keyInQuery, ParseQuery query) {
  Map<String, dynamic> condition = Map();
  condition.putIfAbsent("key", () => keyInQuery);
  condition.putIfAbsent("query", () => query);
  _addCondition(key, "\$select", condition);
}