From 2fe7361b01fc9d7560a5c8a92d2399b64541b1f1 Mon Sep 17 00:00:00 2001 From: Maximilian Fischer Date: Sat, 10 Oct 2020 20:28:26 +0200 Subject: [PATCH] Fix bug where whereMatchesKeyInQuery cant be used when using different object classes --- packages/dart/lib/src/network/parse_query.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/dart/lib/src/network/parse_query.dart b/packages/dart/lib/src/network/parse_query.dart index 497fe928b..7f995427a 100644 --- a/packages/dart/lib/src/network/parse_query.dart +++ b/packages/dart/lib/src/network/parse_query.dart @@ -301,7 +301,7 @@ class QueryBuilder { // 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. // ignore: always_specify_types void whereMatchesKeyInQuery( - String column, String keyInQuery, QueryBuilder query) { + String column, String keyInQuery, QueryBuilder query) { if (query.queries.isEmpty) { throw ArgumentError('query conditions is required'); } @@ -322,7 +322,7 @@ class QueryBuilder { // 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 // ignore: always_specify_types void whereDoesNotMatchKeyInQuery( - String column, String keyInQuery, QueryBuilder query) { + String column, String keyInQuery, QueryBuilder query) { if (query.queries.isEmpty) { throw ArgumentError('query conditions is required'); }