I am querying app engine (1.3.8) datastore in local development environment. Querying is working great, until I tried paginating thru a result set. I have 3 entities, with values A, B, C When I query with offset=0, I get entities A, B, C. When I query with offset=1, I get the same When I query with offset=2, I bet entities B, C When I query with offset=3, I get entity C.
//example code: int offset = 1; Query query = new Query("Object"); query.addFilter("someObjectProperty", FilterOperator.EQUAL, "some common value"); query.addSort("date", SortDirection.DESCENDING); List<Entity> results = datastoreService.prepare(findAnswersQuery).asList(FetchOptions.Builder.withLimit(100).offset(offset)); Is this the expected behavior? Thanks! -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.