@compas/store
Advanced tools
Comparing version 0.0.133 to 0.0.134
@@ -558,5 +558,6 @@ import * as stdlib from "@compas/stdlib"; | ||
*/ | ||
export function stringifyQueryPart( | ||
queryPart: QueryPart, | ||
): { sql: string; params: any[] }; | ||
export function stringifyQueryPart(queryPart: QueryPart): { | ||
sql: string; | ||
params: any[]; | ||
}; | ||
@@ -563,0 +564,0 @@ /** |
{ | ||
"name": "@compas/store", | ||
"version": "0.0.133", | ||
"version": "0.0.134", | ||
"description": "Postgres & S3-compatible wrappers for common things", | ||
@@ -17,3 +17,3 @@ "main": "./index.js", | ||
"dependencies": { | ||
"@compas/stdlib": "0.0.133", | ||
"@compas/stdlib": "0.0.134", | ||
"@types/minio": "7.0.7", | ||
@@ -45,3 +45,3 @@ "mime-types": "2.1.30", | ||
}, | ||
"gitHead": "44a7cf7b76fb0c1f572adcda9565b3dd8f324058" | ||
"gitHead": "64810914b304fdf3466b64b40a001ee481c47980" | ||
} |
@@ -164,10 +164,12 @@ import { isNil } from "@compas/stdlib"; | ||
if (jsonResult) { | ||
const intermediate = await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT JSON) ${queryItem}`.exec( | ||
sql, | ||
); | ||
const intermediate = | ||
await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT JSON) ${queryItem}`.exec( | ||
sql, | ||
); | ||
result = intermediate[0]; | ||
} else { | ||
const intermediate = await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT TEXT) ${queryItem}`.exec( | ||
sql, | ||
); | ||
const intermediate = | ||
await query`EXPLAIN (ANALYZE, VERBOSE, BUFFERS, FORMAT TEXT) ${queryItem}`.exec( | ||
sql, | ||
); | ||
@@ -174,0 +176,0 @@ result = intermediate.map((it) => it["QUERY PLAN"]).join("\n"); |
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
423808
13537
+ Added@compas/stdlib@0.0.134(transitive)
+ Addeddotenv@9.0.2(transitive)
- Removed@compas/stdlib@0.0.133(transitive)
- Removeddotenv@9.0.0(transitive)
Updated@compas/stdlib@0.0.134