Do not override sql_raw
This commit is contained in:
parent
52d1cd47db
commit
0bc68d7144
@ -91,7 +91,6 @@ module.exports = class AggregationMapConfigAdapter {
|
||||
let aggregationSql = aggregation.sql();
|
||||
|
||||
if (sqlQueryWrap) {
|
||||
layer.options.sql_raw = aggregationSql;
|
||||
aggregationSql = sqlQueryWrap.replace(/<%=\s*sql\s*%>/g, aggregationSql);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user