knex-schema-inspector
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -245,4 +245,4 @@ "use strict"; | ||
case 0: return [4 /*yield*/, this.knex | ||
.count({ count: '*' }) | ||
.from('information_schema.tables') | ||
.count('*', { as: 'count' }) | ||
.from('information_schema.columns') | ||
.where({ | ||
@@ -249,0 +249,0 @@ table_schema: this.knex.client.database(), |
@@ -251,4 +251,4 @@ import Knex from 'knex'; | ||
const result = await this.knex | ||
.count<{ count: 0 | 1 }>({ count: '*' }) | ||
.from('information_schema.tables') | ||
.count<{ count: 0 | 1 }>('*', { as: 'count' }) | ||
.from('information_schema.columns') | ||
.where({ | ||
@@ -255,0 +255,0 @@ table_schema: this.knex.client.database(), |
{ | ||
"name": "knex-schema-inspector", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "[WIP] Utility for extracting information about existing DB schema", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
135239