Entity e2 = newFlightEntity("harold", "bos", "mia", 33, 34, 35);
ds.put(null, e1);
ds.put(null, e2);
Query q = pm.newQuery("select max(me) from " + Flight.class.getName());
q.addExtension(DatastoreManager.QUERYEXT_INMEMORY_WHEN_UNSUPPORTED, "true");
assertEquals(34, q.execute());
}
public void testCountQueryWithFilter_SingleString() {
Entity e1 = newFlightEntity("harold", "bos", "mia", 23, 24, 25);