whereMatchesKeyInQuery method

void whereMatchesKeyInQuery (String key, String keyInQuery, 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) {
  final condition = <String, dynamic>{
    "keyInQuery": keyInQuery,
    "query": query.toJson()
  };
  _addCondition(key, "whereMatchesKeyInQuery", condition);
}