whereMatchesQuery<E extends ParseObject> method

void whereMatchesQuery<E extends ParseObject>(
  1. String column,
  2. QueryBuilder<E> query
)

Add a constraint to the query that requires a particular key's value match another QueryBuilder

Implementation

void whereMatchesQuery<E extends ParseObject>(
    String column, QueryBuilder<E> query) {
  final String inQuery =
      query._buildQueryRelational(query.object.parseClassName);

  queries.add(MapEntry<String, dynamic>(
      _singleQuery, '"$column":{"\$inQuery":$inQuery}'));
}