Skip to content

Querybuilder: whereMatchesKeyInQuery bugfix #476

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/dart/lib/src/network/parse_query.dart
Original file line number Diff line number Diff line change
@@ -301,7 +301,7 @@ class QueryBuilder<T extends ParseObject> {
// 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<T> query) {
String column, String keyInQuery, QueryBuilder query) {
if (query.queries.isEmpty) {
throw ArgumentError('query conditions is required');
}
@@ -322,7 +322,7 @@ class QueryBuilder<T extends ParseObject> {
// 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<T> query) {
String column, String keyInQuery, QueryBuilder query) {
if (query.queries.isEmpty) {
throw ArgumentError('query conditions is required');
}