docs: function _buildCursor(db, EntityClass, query) {
    // copy query to not mess with user's object
    query = objects.copy(query);
  
    // rename id field
    if (query.hasOwnProperty('id')) {
      query._id = query.id;
      delete query.id;
    }
  
    // find collection name
    var name = getEntityCollectionName(EntityClass);
  
    // build cursor
    return db.collection(name).find(query);
  }