예제 #1
0
 /**
  * Returns a {@link ModelQuery}.
  *
  * @param ancestorKey the ancestor key
  * @return a {@link ModelQuery}
  */
 protected ModelQuery<T> query(Key ancestorKey) {
   return Datastore.query(m, ancestorKey);
 }
예제 #2
0
 /**
  * Returns a {@link ModelQuery}.
  *
  * @return a {@link ModelQuery}
  */
 protected ModelQuery<T> query() {
   return Datastore.query(m);
 }