code: private QueryTypeAndQuery extractQueryAnnotation(Class<?> clazz, Method method) {
  		
  		Query q = method.getAnnotation(Query.class);
  		QueriesOverride qs = method.getAnnotation(QueriesOverride.class);
  
  		// only one @Query annotation, thus we return the value without checking the database
  		if (qs == null) {
  			return new QueryTypeAndQuery(q.type(), q.value(), q.mapper());
  		}
  		
  		for (QueryOverride query : qs.value()) {
  			if (query.db().equals(activeDb)) {
  				return new QueryTypeAndQuery(q.type(), query.value(), query.mapper());
  			}
  		}
  
  		return new QueryTypeAndQuery(q.type(), q.value(), q.mapper());
  	}
docs: -----