mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Refactor SpiExpressionRequest split append() into append() and parse()
- append() adds to the sql with NO parsing - parse() adds to the sql with parsing to replace logical bean paths into table alias placeholder + db column
This commit is contained in:
+6
@@ -49,6 +49,12 @@ public class TDSpiExpressionRequest implements SpiExpressionRequest {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SpiExpressionRequest parse(String expression) {
|
||||
sql.append(expression);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addBindEncryptKey(Object encryptKey) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user