Skip to content

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

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\"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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