/** * The field is less than or equal to the given value * * @param field The field to compare * @param value The value to compare to * @return the query */ public static Query lessThanEquals(String field, Object value) { return new Query().lessThanEquals(field, value); }
/** * An element in the given array field matches the given query * * @param field the array field * @param query The query to attempt to match against the elements of the array field * @return the query */ public static Query elemMatch(String field, Query query) { return new Query().elemMatch(field, query); }
/** * The field is greater than or equal to the given value * * @param field The field to compare * @param value The value to compare to * @return the query */ public static Query greaterThanEquals(String field, Object value) { return new Query().greaterThanEquals(field, value); }
/** * The field is less than or equal to the given value * * @param field The field to compare * @param value The value to compare to * @return the query */ public static Query lessThanEquals(String field, Object value) { return new Query().lessThanEquals(field, value); }