Skip to content

Commit eee69fc

Browse files
authored
Querybuilder: whereMatchesKeyInQuery bugfix (#476)
Fix bug where whereMatchesKeyInQuery cant be used when using different object classes.
1 parent 4622e29 commit eee69fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/dart/lib/src/network/parse_query.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class QueryBuilder<T extends ParseObject> {
301301
// 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.
302302
// ignore: always_specify_types
303303
void whereMatchesKeyInQuery(
304-
String column, String keyInQuery, QueryBuilder<T> query) {
304+
String column, String keyInQuery, QueryBuilder query) {
305305
if (query.queries.isEmpty) {
306306
throw ArgumentError('query conditions is required');
307307
}
@@ -322,7 +322,7 @@ class QueryBuilder<T extends ParseObject> {
322322
// Add a constraint to the query that requires a particular key's value does not match any value for a key in the results of another ParseQuery
323323
// ignore: always_specify_types
324324
void whereDoesNotMatchKeyInQuery(
325-
String column, String keyInQuery, QueryBuilder<T> query) {
325+
String column, String keyInQuery, QueryBuilder query) {
326326
if (query.queries.isEmpty) {
327327
throw ArgumentError('query conditions is required');
328328
}

0 commit comments

Comments
 (0)