PR style fixes

This commit is contained in:
IagoLast
2018-06-05 08:44:20 +02:00
parent 8ec2b35557
commit 2ee6c8487d
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ function _isDateType(field) {
* @param {string} column - The name of the date column
*/
function _castColumnToEpoch(columnName) {
return `date_part('epoch', ${columnName}) as ${columnName}`;
return `date_part('epoch', ${columnName}) as "${columnName}"`;
}
module.exports = {