code: function onQuery(data) {
                  let entities = data[0];
                  const info = data[1];
  
                  // Add id property to entities and suppress properties
                  // where "read" setting is set to false
                  entities = entities.map(entity => (
                      datastoreSerializer.fromDatastore.call(Model, entity, options)
                  ));
  
                  const response = {
                      entities,
                  };
  
                  if (info.moreResults !== Model.gstore.ds.NO_MORE_RESULTS) {
                      response.nextPageCursor = info.endCursor;
                  }
  
                  return response;
              }
docs: -----------------------------------------------