@quillsql/node 0.5.4 → 0.5.5

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
@@ -126,7 +126,8 @@ class Quill {
126
126
  }
127
127
  else if (runQueryConfig === null || runQueryConfig === void 0 ? void 0 : runQueryConfig.getColumnsForSchema) {
128
128
  const queryResults = yield Promise.all(queries.map((table) => __awaiter(this, void 0, void 0, function* () {
129
- if (!table.viewQuery || !table.isSelectStar) {
129
+ if (!table.viewQuery ||
130
+ (!table.isSelectStar && !table.customFieldInfo)) {
130
131
  return table;
131
132
  }
132
133
  let limit = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quillsql/node",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Quill Server SDK for Node.js",
5
5
  "main": "dist/index.js",
6
6
  "module": "./dist/index.js",
package/src/index.ts CHANGED
@@ -195,7 +195,10 @@ export class Quill {
195
195
  } else if (runQueryConfig?.getColumnsForSchema) {
196
196
  const queryResults = await Promise.all(
197
197
  queries.map(async (table) => {
198
- if (!table.viewQuery || !table.isSelectStar) {
198
+ if (
199
+ !table.viewQuery ||
200
+ (!table.isSelectStar && !table.customFieldInfo)
201
+ ) {
199
202
  return table;
200
203
  }
201
204
  let limit = "";