pqb 0.29.1 → 0.30.0
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/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -11126,10 +11126,6 @@ class Db {
|
|
|
11126
11126
|
hasParsers = true;
|
|
11127
11127
|
parsers[key] = column.parseFn;
|
|
11128
11128
|
}
|
|
11129
|
-
const { modifyQuery: mq } = column.data;
|
|
11130
|
-
if (mq) {
|
|
11131
|
-
modifyQuery = orchidCore.pushOrNewArray(modifyQuery, (q) => mq(q, column));
|
|
11132
|
-
}
|
|
11133
11129
|
if (column.data.name) {
|
|
11134
11130
|
hasCustomName = true;
|
|
11135
11131
|
} else if (snakeCase) {
|
|
@@ -11139,6 +11135,10 @@ class Db {
|
|
|
11139
11135
|
column.data.name = snakeName;
|
|
11140
11136
|
}
|
|
11141
11137
|
}
|
|
11138
|
+
const { modifyQuery: mq } = column.data;
|
|
11139
|
+
if (mq) {
|
|
11140
|
+
modifyQuery = orchidCore.pushOrNewArray(modifyQuery, (q) => mq(q, column));
|
|
11141
|
+
}
|
|
11142
11142
|
if (typeof column.data.default === "function") {
|
|
11143
11143
|
const arr = this.internal.runtimeDefaultColumns;
|
|
11144
11144
|
if (!arr)
|