Closed
Description
Hi there,
It seems when I try to create a distinct query with the SDK it doesn't behave as such, and results returned are not unique.
Example code
var query = new Parse.Query("Score");
query.distinct("user");
query.find({useMasterKey: true}).then(function(results) {
// results does not return unique users :(
});
The REST API behaves as expected here when performing the same query.
Running SDK v2.0.1, parse-server v3.0.0, node v8.11.4, mongo v4.0.1.
Metadata
Metadata
Assignees
Labels
No labels