Page 2 of 3

parse.com "where-query"

Posted: Tue Jul 10, 2012 6:49 pm
by maxkatz

No worries, glad to help.


parse.com "where-query"

Posted: Sun Nov 04, 2012 2:55 am
by RichardGolko

I am having the same trouble; in the table designer where you put Query, I put this:

{"_objectId":"508a12abe4b06210489f7eb6"}

I tried upper case Id ad lowercase id on _objectid and I still get a blank response. the key is correct, 508a12abe4b06210489f7eb6 it has been triple checked.

I can query by other fields and get the proper response but not when querying with objectId.


parse.com "where-query"

Posted: Sun Nov 04, 2012 5:36 am
by maxkatz

Have you tried to use _objectId in a curl command?


parse.com "where-query"

Posted: Tue Nov 06, 2012 2:19 pm
by RichardGolko

I have no idea what you mean by that. I have a designer to work with, that is all.When you suggest things like that please iinclude more information like how to do what you suggest in details. This is now going on 3 weeks and I can't get a simple query for a single user to work.


parse.com "where-query"

Posted: Tue Nov 06, 2012 2:50 pm
by maxkatz

A curl command is what Parse shows here: https://parse.com/docs/rest#queries. It can be invoked from the command line (after installing the curl client). You need to show which query you are trying to run or show the actual curl command.


parse.com "where-query"

Posted: Wed Nov 07, 2012 9:51 pm
by RichardGolko

what's a curl client? where do I get it? This is a bug in the designer -- it does not query by the _objectId but does on other fields.


parse.com "where-query"

Posted: Thu Nov 08, 2012 12:53 am
by maxkatz

It seems to work:

Image

I don't know how your collection looks, but maybe you don't need "_" in _objectId. The name has to match exactly what you have in the collection.


parse.com "where-query"

Posted: Thu Nov 08, 2012 3:13 am
by RichardGolko

Image

The second record has _objectId= 50843489e4b0f5348a3d0206

Press Query on this screen and enter the query:

{"_objectId":"50843489e4b0f5348a3d0206"}

run the query and no records show.

II also tried single quotes; I tried _objectId with lower case i and uppercase i

It doesn't work in the designer, and no matter what I try for the GetUser service doesn't work either. I have shared the project if you care to take a look at the GetUser method in the UserLogin form. I've struggled with this and this is the third week; not your fault but I just don't get why it won't work and it's a showstopper.


parse.com "where-query"

Posted: Thu Nov 08, 2012 4:38 am
by maxkatz

I thought you were using Parse as you posted in this thread. I don't think it's a bug in the builder, it's a bug in the database that it doesn't return the user. We'll fix it.


parse.com "where-query"

Posted: Tue Nov 13, 2012 4:59 am
by RichardGolko

Any way to query by a single _objectid yet? (I need to get a single user back from the Users table -- can you get this to work with the Tiggzi db and show me how? It's a showstopper for me. Thank you.