mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Merge pull request #3284 from raphaelNguyen/master
Expose betweenProperties on query bean
This commit is contained in:
@@ -304,6 +304,14 @@ public abstract class PBaseComparable<R, T> extends PBaseValueEqual<R, T> {
|
||||
return _root;
|
||||
}
|
||||
|
||||
/**
|
||||
* Between - value between this property and another property
|
||||
*/
|
||||
public final R betweenProperties(Query.Property<T> highProperty, T value) {
|
||||
expr().betweenProperties(_name, highProperty.toString(), value);
|
||||
return _root;
|
||||
}
|
||||
|
||||
/**
|
||||
* Greater than.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user