mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Added ability to set alias for root table of sql query.
This commit is contained in:
@@ -1230,4 +1230,9 @@ public interface Query<T> extends Serializable {
|
||||
* Return true if this query has forUpdate set.
|
||||
*/
|
||||
public boolean isForUpdate();
|
||||
|
||||
/**
|
||||
* Set root table alias.
|
||||
*/
|
||||
public Query<T> alias(String alias);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user