azure-kusto-data
Advanced tools
Comparing version
{ | ||
"name": "azure-kusto-data", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Azure Data Explorer Query SDK", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,7 +16,5 @@ # Microsoft Azure Kusto Data Library for Node | ||
client.execute("db", "TableName | limit 1", (err, results) => { | ||
if (err) throw new Error(err); | ||
console.log(JSON.stringify(results)); | ||
console.log(results.primaryResults[0].toString()); | ||
}); | ||
const results = await client.execute("db", "TableName | limit 1"); | ||
console.log(JSON.stringify(results)); | ||
console.log(results.primaryResults[0].toString()); | ||
@@ -97,3 +95,3 @@ ``` | ||
clientRequestProps.setParameter("amount", 100); | ||
client.executeQuery("db", query, (err, results) => { console.log(results); }, clientRequestProps); | ||
const results = await client.executeQuery("db", query, clientRequestProps); | ||
``` | ||
@@ -100,0 +98,0 @@ |
36610
-0.18%99
-1.98%