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
try on flutter sdk, .. whereContainedIn on a field another that objectId
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
New Issue Checklist
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
try on flutter sdk, .. whereContainedIn on a field another that objectId
Actual Outcome
None
Expected Outcome
List of data
Environment
Parse Flutter SDK
7.0.0
3.13.9
3.1.5
0.0.0
Server
6.1.0
Logs