Sign In Register

How can we help you today?

Start a new topic
Answered

Finding challenges in NoSQL Panel

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

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

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.

Thanks,

Liam


1 person likes this
Login to post a comment