code: private <T> Query<T> newQuery(final Class<T> type, final DBCollection collection, final DBObject query) {
          return getQueryFactory().createQuery(this, collection, type, query);
      }
docs: Creates and returns a {@link Query} using the underlying {@link QueryFactory}.
  
  @see QueryFactory#createQuery(Datastore, DBCollection, Class, DBObject)