read aggregate functions from database

This commit is contained in:
Sven Klemm
2018-03-14 23:03:32 +01:00
parent 0c3afd0e9c
commit 46c229188e
3 changed files with 30 additions and 1 deletions

View File

@ -24,9 +24,10 @@ export default class PostgresQuery {
target.where = target.where || [];
target.select = target.select || [[{ type: 'column', params: ['value'] }]];
this.updateProjection();
// give interpolateQueryStr access to this
this.interpolateQueryStr = this.interpolateQueryStr.bind(this);
this.updateProjection();
}
quoteIdentifier(value) {