@dbsp/adapter-pgsql 1.10.1 → 1.10.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/dist/index.js CHANGED
@@ -10747,11 +10747,9 @@ var PlanCompiler = class _PlanCompiler {
10747
10747
  }
10748
10748
  if (decision.column) {
10749
10749
  return sortBy(
10750
- columnRef(
10750
+ this.compileRelationAwareColumnRef(
10751
10751
  decision.column,
10752
- decision.table,
10753
- void 0,
10754
- this.naming
10752
+ decision.table
10755
10753
  ),
10756
10754
  decision.direction ?? "ASC",
10757
10755
  decision.nulls ?? "DEFAULT"
@@ -16065,10 +16063,9 @@ function convertDottedFieldsToExists(decisions, rootTable, model) {
16065
16063
  ...resolved.relationType && { relationType: resolved.relationType },
16066
16064
  conditions: [
16067
16065
  {
16066
+ ...d,
16068
16067
  type: "where",
16069
16068
  column: targetColumn,
16070
- operator: d.operator,
16071
- value: d.value,
16072
16069
  table: resolved.target
16073
16070
  }
16074
16071
  ]