Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
thibauddavid opened this issue Feb 25, 2016 · 5 comments
Closed
Labels
type:question Support or code-level question

Comments

@thibauddavid
Copy link

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\"
@gfosco
Copy link
Contributor

gfosco commented Mar 6, 2016

Seems like we have a test which covers this: https://github.com/ParsePlatform/parse-server/blob/master/spec/ParseQuery.spec.js#L1457

Can you try with the latest version?

@thibauddavid
Copy link
Author

Still having the same problem with 2.1.4

@gfosco
Copy link
Contributor

gfosco commented Mar 17, 2016

Please re-open if you still have this issue with 2.1.6+.

@gfosco gfosco closed this as completed Mar 17, 2016
@Gagand
Copy link

Gagand commented May 27, 2016

Where is v 2.1.6+ version for iOS is available?? I'm getting latest v1.12.0 on parse.com(https://parse.com/docs/downloads) and v1.13.0 from github.

Where is v2.1.6 is available?

@thibauddavid
Copy link
Author

It's a parse-server version he was talking about, not parse-ios-sdk
Le 27 mai 2016 7:47 AM, "Gagand" notifications@github.com a écrit :

Where is v 2.1.6+ version for iOS is available?? I'm getting latest
v1.12.0 on parse.com(https://parse.com/docs/downloads) and v1.13.0 from
github.

Where is v2.1.6 is available?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#646 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AF40CITbFV8OFXeZXCTwd4N9QItEbykPks5qFoVmgaJpZM4HimBR
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question Support or code-level question
Projects
None yet
Development

No branches or pull requests

4 participants