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

Combination Filter #127

Open
ghost opened this issue Oct 8, 2015 · 1 comment
Open

Combination Filter #127

ghost opened this issue Oct 8, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Oct 8, 2015

How use 'and' and 'or' filter ?

obj = Peta.Query.filter(lokasi__nearSphere=my_loc)
obj = obj.filter(lokasi__maxDistanceInKilometers=27.0)

give me empty result.

With raw REST request to api.parse.com have a result,,,,

@flplv
Copy link
Contributor

flplv commented Oct 8, 2015

Would you mind to post a reproducible code ? Where you write objects, save
them and then try to filter. I couldn't understand what is it you are
actually filtering.

On Thu, Oct 8, 2015 at 2:09 AM, Wirasto S. Karim [email protected]
wrote:

How use 'and' and 'or' filter ?

obj = Peta.Query.filter(lokasi__nearSphere=my_loc)
obj = obj.filter(lokasi__maxDistanceInKilometers=27.0)

give me empty result.

With raw REST request to api.parse.com have a result,,,,


Reply to this email directly or view it on GitHub
#127.

Skype: felipeanl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant