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.mjs CHANGED
@@ -11124,10 +11124,6 @@ class Db {
11124
11124
  hasParsers = true;
11125
11125
  parsers[key] = column.parseFn;
11126
11126
  }
11127
- const { modifyQuery: mq } = column.data;
11128
- if (mq) {
11129
- modifyQuery = pushOrNewArray(modifyQuery, (q) => mq(q, column));
11130
- }
11131
11127
  if (column.data.name) {
11132
11128
  hasCustomName = true;
11133
11129
  } else if (snakeCase) {
@@ -11137,6 +11133,10 @@ class Db {
11137
11133
  column.data.name = snakeName;
11138
11134
  }
11139
11135
  }
11136
+ const { modifyQuery: mq } = column.data;
11137
+ if (mq) {
11138
+ modifyQuery = pushOrNewArray(modifyQuery, (q) => mq(q, column));
11139
+ }
11140
11140
  if (typeof column.data.default === "function") {
11141
11141
  const arr = this.internal.runtimeDefaultColumns;
11142
11142
  if (!arr)