@graffy/pg 0.15.13-alpha.1 → 0.15.13-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +2 -2
- package/index.mjs +2 -2
- package/package.json +2 -2
package/index.cjs
CHANGED
|
@@ -572,11 +572,11 @@ class Db {
|
|
|
572
572
|
if (node.prefix) {
|
|
573
573
|
for (const childNode of node.children) {
|
|
574
574
|
const childArgs = common.decodeArgs(childNode);
|
|
575
|
-
const projection = childNode.children ? common.decodeQuery(childNode.children) :
|
|
575
|
+
const projection = childNode.children ? common.decodeQuery(childNode.children) : null;
|
|
576
576
|
promises.push(getByArgs(__spreadValues(__spreadValues({}, args), childArgs), projection));
|
|
577
577
|
}
|
|
578
578
|
} else {
|
|
579
|
-
const projection = node.children ? common.decodeQuery(node.children) :
|
|
579
|
+
const projection = node.children ? common.decodeQuery(node.children) : null;
|
|
580
580
|
promises.push(getByArgs(args, projection));
|
|
581
581
|
}
|
|
582
582
|
} else {
|
package/index.mjs
CHANGED
|
@@ -564,11 +564,11 @@ class Db {
|
|
|
564
564
|
if (node.prefix) {
|
|
565
565
|
for (const childNode of node.children) {
|
|
566
566
|
const childArgs = decodeArgs(childNode);
|
|
567
|
-
const projection = childNode.children ? decodeQuery(childNode.children) :
|
|
567
|
+
const projection = childNode.children ? decodeQuery(childNode.children) : null;
|
|
568
568
|
promises.push(getByArgs(__spreadValues(__spreadValues({}, args), childArgs), projection));
|
|
569
569
|
}
|
|
570
570
|
} else {
|
|
571
|
-
const projection = node.children ? decodeQuery(node.children) :
|
|
571
|
+
const projection = node.children ? decodeQuery(node.children) : null;
|
|
572
572
|
promises.push(getByArgs(args, projection));
|
|
573
573
|
}
|
|
574
574
|
} else {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@graffy/pg",
|
|
3
3
|
"description": "The standard Postgres module for Graffy. Each instance this module mounts a Postgres table as a Graffy subtree.",
|
|
4
4
|
"author": "aravind (https://github.com/aravindet)",
|
|
5
|
-
"version": "0.15.13-alpha.
|
|
5
|
+
"version": "0.15.13-alpha.2",
|
|
6
6
|
"main": "./index.cjs",
|
|
7
7
|
"exports": {
|
|
8
8
|
"import": "./index.mjs",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"license": "Apache-2.0",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@graffy/common": "0.15.13-alpha.
|
|
19
|
+
"@graffy/common": "0.15.13-alpha.2",
|
|
20
20
|
"debug": "^4.3.2",
|
|
21
21
|
"sql-template-tag": "^4.0.0"
|
|
22
22
|
},
|