pqb 0.24.0 → 0.24.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.mjs CHANGED
@@ -1983,7 +1983,7 @@ const addColumnToShapeFromSelect = (q, arg, shape, query, result, isSubQuery, ke
1983
1983
  }
1984
1984
  };
1985
1985
  const maybeUnNameColumn = (column, isSubQuery) => {
1986
- return isSubQuery && column.data.name ? setColumnData(column, "name", void 0) : column;
1986
+ return isSubQuery && (column == null ? void 0 : column.data.name) ? setColumnData(column, "name", void 0) : column;
1987
1987
  };
1988
1988
  function _querySelect(q, args) {
1989
1989
  if (!args.length) {
@@ -10694,7 +10694,7 @@ class Db {
10694
10694
  }
10695
10695
  }
10696
10696
  [inspect.custom]() {
10697
- return `QueryObject<${this.table}>`;
10697
+ return `Query<${this.table}>`;
10698
10698
  }
10699
10699
  /**
10700
10700
  * Use `query` to perform raw SQL queries.