maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

parse.com "where-query"

No worries, glad to help.

RichardGolko
Posts: 0
Joined: Thu Oct 25, 2012 11:25 pm

parse.com "where-query"

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

parse.com "where-query"

Have you tried to use _objectId in a curl command?

RichardGolko
Posts: 0
Joined: Thu Oct 25, 2012 11:25 pm

parse.com "where-query"

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

parse.com "where-query"

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.

RichardGolko
Posts: 0
Joined: Thu Oct 25, 2012 11:25 pm

parse.com "where-query"

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

parse.com "where-query"

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.

RichardGolko
Posts: 0
Joined: Thu Oct 25, 2012 11:25 pm

parse.com "where-query"

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

parse.com "where-query"

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.

RichardGolko
Posts: 0
Joined: Thu Oct 25, 2012 11:25 pm

parse.com "where-query"

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.

Return to “Issues”