@dbsp/nql 1.9.0 → 1.9.1

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
@@ -1809,7 +1809,7 @@ function recursiveVirtualRelationForBinding(relation, sourceTable, directProject
1809
1809
  targetColumn: [direction === "up" ? targetKeyColumn : selfRefColumn],
1810
1810
  hops: [],
1811
1811
  cardinality: "many",
1812
- relationType: relation.type,
1812
+ ...relation.type !== void 0 ? { relationType: relation.type } : {},
1813
1813
  recursive: {
1814
1814
  direction,
1815
1815
  maxDepth: recursiveMaxDepth(relation.recursive) ?? 10,