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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1985,7 +1985,7 @@ const addColumnToShapeFromSelect = (q, arg, shape, query, result, isSubQuery, ke
|
|
|
1985
1985
|
}
|
|
1986
1986
|
};
|
|
1987
1987
|
const maybeUnNameColumn = (column, isSubQuery) => {
|
|
1988
|
-
return isSubQuery && column.data.name ? orchidCore.setColumnData(column, "name", void 0) : column;
|
|
1988
|
+
return isSubQuery && (column == null ? void 0 : column.data.name) ? orchidCore.setColumnData(column, "name", void 0) : column;
|
|
1989
1989
|
};
|
|
1990
1990
|
function _querySelect(q, args) {
|
|
1991
1991
|
if (!args.length) {
|
|
@@ -10696,7 +10696,7 @@ class Db {
|
|
|
10696
10696
|
}
|
|
10697
10697
|
}
|
|
10698
10698
|
[node_util.inspect.custom]() {
|
|
10699
|
-
return `
|
|
10699
|
+
return `Query<${this.table}>`;
|
|
10700
10700
|
}
|
|
10701
10701
|
/**
|
|
10702
10702
|
* Use `query` to perform raw SQL queries.
|