pqb 0.0.6 → 0.0.7

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 CHANGED
@@ -3962,7 +3962,7 @@ const _join = (q, type, args) => {
3962
3962
  joinKey = first;
3963
3963
  const relation = q.relations[joinKey];
3964
3964
  if (relation) {
3965
- parsers = relation.model.query.parsers || relation.model.columnsParsers;
3965
+ parsers = relation.query.query.parsers || relation.query.columnsParsers;
3966
3966
  } else {
3967
3967
  const shape = (_a = q.query.withShapes) == null ? void 0 : _a[first];
3968
3968
  if (shape) {