MongoDB
MongoDB Connection Configuration
Object IDs
Returned object IDs are stringified by default. To query with an object id, use the following syntax:
MongoDB.Production.users.find("_id": {"$oid": mashapeId}) {)
If the Object ID is part of an ObjectRef, the syntax is
MongoDB.Production.subscriptions.find("user.$id": {"$oid": mashapeId}) {}
Updated about 6 years ago