How do we find entires in the challengeInstance collection? I've looked around the net and when you are querying objects indexed by $oid, places expect some form of special call to construct the query like:
{ "_id" : ObjectId("id goes here") }
or:
{"$oid" : "id goes here" }
neither of which work in the explorer.
What's the equivalent in Explorer?
Best Answer
C
Customer Support
said
over 6 years ago
Hi Ryan ,
To query a challenge in NoSql you would use the following syntax.
{ "_id": { "$oid": "56fbe3fbdba6d604c7e2f8e3" }}
Just replace the "$oid" in the query with the one you are interested in from your game. Let me know if that helps.
Thanks,
Liam
1 Comment
Customer Support
said
over 6 years ago
Answer
Hi Ryan ,
To query a challenge in NoSql you would use the following syntax.
{ "_id": { "$oid": "56fbe3fbdba6d604c7e2f8e3" }}
Just replace the "$oid" in the query with the one you are interested in from your game. Let me know if that helps.
Ryan George
How do we find entires in the challengeInstance collection? I've looked around the net and when you are querying objects indexed by $oid, places expect some form of special call to construct the query like:
{ "_id" : ObjectId("id goes here") }
or:
{"$oid" : "id goes here" }
neither of which work in the explorer.
What's the equivalent in Explorer?
Hi Ryan ,
To query a challenge in NoSql you would use the following syntax.
{ "_id": { "$oid": "56fbe3fbdba6d604c7e2f8e3" }}
Just replace the "$oid" in the query with the one you are interested in from your game. Let me know if that helps.
Thanks,
Liam
Customer Support
Hi Ryan ,
To query a challenge in NoSql you would use the following syntax.
{ "_id": { "$oid": "56fbe3fbdba6d604c7e2f8e3" }}
Just replace the "$oid" in the query with the one you are interested in from your game. Let me know if that helps.
Thanks,
Liam
1 person likes this
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics