Skip to content

Query constraint on other query throws "improper usage of $inQuery" #646

Closed
@thibauddavid

Description

@thibauddavid

Hi,

Constraints based on results of other query doesn't seem to work in parse-server.
Simple iOS example (working with Parse.com):

PFQuery *fooQuery = [FooObject query];

PFQuery *barQuery = [BarObject query];
[barQuery whereKey:@"innerFooObject" matchesQuery:fooQuery];

Throws

"Error Domain=Parse Code=102 \"improper usage of $inQuery\"

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions