@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 +2 -1
- package/package.json +1 -1
- package/src/index.ts +4 -1
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 ||
|
|
129
|
+
if (!table.viewQuery ||
|
|
130
|
+
(!table.isSelectStar && !table.customFieldInfo)) {
|
|
130
131
|
return table;
|
|
131
132
|
}
|
|
132
133
|
let limit = "";
|
package/package.json
CHANGED
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 (
|
|
198
|
+
if (
|
|
199
|
+
!table.viewQuery ||
|
|
200
|
+
(!table.isSelectStar && !table.customFieldInfo)
|
|
201
|
+
) {
|
|
199
202
|
return table;
|
|
200
203
|
}
|
|
201
204
|
let limit = "";
|