mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1333 - ENH: Support "dynamic formula" with findSingleAttributeList() ... e.g. .select("concat(lastName,', ',firstName)")
Support property alias via "AS" ... concat(lastName,', ',firstName) as lastName
This commit is contained in:
@@ -67,7 +67,7 @@ public interface DbSqlContext {
|
||||
/**
|
||||
* Parse and add formula with standard table alias replacement.
|
||||
*/
|
||||
void appendParseSelect(String parseSelect);
|
||||
void appendParseSelect(String parseSelect, String alias);
|
||||
|
||||
/**
|
||||
* Append a Sql Formula select. This converts the "${ta}" keyword to the
|
||||
|
||||
Reference in New Issue
Block a user