Here, I have this datastore query which show the data of user according to their user id by filter option to particular user.
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
Query query = new Query("EventDetail");
query.addFilter("Member", FilterOperator.EQUAL, user.getUserId());
List<Entity> events = datastore.prepare(query).asList(FetchOptions.Builder.withLimit(10));
But I want the datastore query to show data of all user that they have added like this. This does not work.
DatastoreService datastore = DatastoreServiceFactory.getDatastoreService();
Query query = new Query("EventDetail");
List<Entity> events = datastore.prepare(query).asList(FetchOptions.Builder.withLimit(10));
So, How can i get all data of users stored in the datastore.