whereContainedIn not working
Kora3 opened this issue · comments
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server and the Parse Flutter SDK.
Issue Description
I use on parse_flutter_sdk
List data = ["test1", "test2"]; QueryBuilder query = QueryBuilder(ParseObject('Class'))..whereContainedIn('field', data);
But not I have no result, but if I do:
QueryBuilder query = QueryBuilder(ParseObject('Class'))..whereEqualTo('field', data[0]);
I got result, 'field' is a string type on DB.
I try with:
QueryBuilder query = QueryBuilder(ParseObject('Class'))..whereNotContainedIn('field', data);
and I have the expected result, only whereContainedIn not working, with this, but is work when an try whit 'objectId'.
I would like to point out that this:
const query = new Parse.Query('Class'); query.containedIn('field', data);
work correctly on parse server cloud code, it's only with whereContainedIn on flutter_parse_sdk that it doesn't work.
Steps to reproduce
FILL_THIS_OUT
Actual Outcome
FILL_THIS_OUT
Expected Outcome
FILL_THIS_OUT
Environment
Parse Flutter SDK
- SDK version:
7.0.0 - Flutter version:
3.13.9 - Dart version:
3.1.5 - Operating system version:
FILL_THIS_OUT
Server
- Parse Server version:
FILL_THIS_OUT
Logs
Thanks for opening this issue!
- ❌ Please fill out all fields with a placeholder
FILL_THIS_OUT, otherwise your issue will be closed. If a field does not apply to the issue, fill inn/a.
Duplicate issues related to #980