@qrvey/data-persistence
Advanced tools
Comparing version 0.0.2-4-rev-4 to 0.0.2-4-rev-5
@@ -110,3 +110,3 @@ "use strict"; | ||
if (aggregateFunction) | ||
return `${aggregateFunction}(1) ${(0, queryHelpers_1.buildAggFunctionAlias)(aggregateFunction)}`; | ||
return `CAST(${aggregateFunction}(1) AS INTEGER) AS "${(0, queryHelpers_1.buildAggFunctionAlias)(aggregateFunction)}"`; | ||
if (!(fields === null || fields === void 0 ? void 0 : fields.length)) | ||
@@ -113,0 +113,0 @@ return '*'; |
@@ -11,3 +11,3 @@ "use strict"; | ||
if (!connectionString) { | ||
throw new Error('PG_CONNECTION_STRING environment variable must be configured'); | ||
throw new Error('MULTIPLATFORM_PG_CONNECTION_STRING environment variable must be configured'); | ||
} | ||
@@ -14,0 +14,0 @@ this.connectionService = new connection_service_1.default(usePool); |
@@ -5,3 +5,3 @@ { | ||
"main": "dist/cjs/index.js", | ||
"version": "0.0.2-4-rev-4", | ||
"version": "0.0.2-4-rev-5", | ||
"license": "MIT", | ||
@@ -8,0 +8,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
100052