quilltap 4.11.0-dev.87 → 4.11.0-dev.89
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/bin/quilltap.js +1 -1
- package/package.json +1 -1
package/bin/quilltap.js
CHANGED
|
@@ -1045,7 +1045,7 @@ async function dbCommand(args) {
|
|
|
1045
1045
|
} else if (countTable) {
|
|
1046
1046
|
const row = db.prepare(`SELECT count(*) as count FROM "${countTable}"`).get();
|
|
1047
1047
|
if (asJson) console.log(JSON.stringify({ table: countTable, count: row.count }, null, 2));
|
|
1048
|
-
else console.log(row.count);
|
|
1048
|
+
else console.log(String(row.count));
|
|
1049
1049
|
} else if (sql) {
|
|
1050
1050
|
const stmt = db.prepare(sql);
|
|
1051
1051
|
if (stmt.reader) {
|