@ascdong/nexus 0.1.1 → 0.1.2
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/cli.js +1 -1
- package/dist/connectors/logAnalytics.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -19,7 +19,7 @@ export function registerConnectors() {
|
|
|
19
19
|
}
|
|
20
20
|
export function buildProgram() {
|
|
21
21
|
const program = new Command();
|
|
22
|
-
program.name("nexus").description("Unified Azure data access CLI").version("0.1.
|
|
22
|
+
program.name("nexus").description("Unified Azure data access CLI").version("0.1.2");
|
|
23
23
|
registerConnectorCommand(program);
|
|
24
24
|
registerQueryCommand(program);
|
|
25
25
|
registerSchemaCommand(program);
|
|
@@ -56,7 +56,7 @@ export function makeLogAnalyticsConnector(config, cred) {
|
|
|
56
56
|
return runQuery(statement, options?.maxRows ?? DEFAULT_MAX_ROWS);
|
|
57
57
|
},
|
|
58
58
|
async listTables() {
|
|
59
|
-
const rs = await runQuery("
|
|
59
|
+
const rs = await runQuery("search * | distinct $table | project TableName=$table | sort by TableName asc", 5000);
|
|
60
60
|
return rs.rows.map((r) => ({ name: String(r[0]) }));
|
|
61
61
|
},
|
|
62
62
|
async describeTable(table) {
|