Export SUPPORTED_AGGREGATE_FUNCTIONS

This commit is contained in:
Daniel García Aubert
2017-12-18 20:06:16 +01:00
parent fa7140e736
commit c367743d76
@@ -56,6 +56,8 @@ const SUPPORTED_AGGREGATE_FUNCTIONS = {
}
};
module.exports.SUPPORTED_AGGREGATE_FUNCTIONS = Object.keys(SUPPORTED_AGGREGATE_FUNCTIONS);
const sep = (list) => {
let expr = list.join(', ');
return expr ? ', ' + expr : expr;