Start a new topic

Set depth on query

Hi There

Is there a way to set depth on a query like the following:

objectCollection.findOne({"_id": object_id}, function(err, response){}

It is not returned referenced entities.

I want to do something similar to: request.params.resolve_depth = 3;


1 Comment

The collectionAccess module does not have access to KinveyReferences and cannot resolve them. KinveyReferences are an API concept in Kinvey, while collectionAccess allows for raw access to the datastore. Any resolving within BL will have to be done manually.
Login or Signup to post a comment