From 4b61093c9df3c793db5f7217d263d4a96abb69e8 Mon Sep 17 00:00:00 2001
From: Jordy McNab formatExample
-
@@ -943,7 +943,7 @@ const formatType = clinet.format;
+
@@ -632,7 +632,7 @@ const formatType = client.format;
console.info(formatType);
// => undefinedExample
client.query('login')
.set({limit: 1})
.queue();
-console.info(clinet.queryQueueLength);
+console.info(client.queryQueueLength);
// => 2Example
use: 1000,
})
.queue();
-console.info(clinet.writeQueueLength);
+console.info(client.writeQueueLength);
// => 2
@@ -2732,12 +2732,12 @@ queryRawExamples
-
const clinet = new Influx('http://127.0.0.1:8086/mydb')
+
- const client = new Influx('http://127.0.0.1:8086/mydb')
client.queryRaw('select * from "http"')
.then(console.info)
.catch(console.error);const clinet = new Influx('http://127.0.0.1:8086/mydb')
+
diff --git a/docs/index.html b/docs/index.html
index 768f7c3..5e1408c 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -60,7 +60,7 @@ const client = new Influx('http://127.0.0.1:8086/mydb')
client.queryRaw('select * from "login"', 'testdb')
.then(console.info)
.catch(console.error);
A simple clinet for influxdb, including these features:
+A simple client for influxdb, including these features:
Writing multiple points
$ npm install influxdb-nodejsWriting multiple points and set schema for measurment
const Influx = require('influxdb-nodejs');
-const clinet = new Influx('http://127.0.0.1:8086/mydb');
+const client = new Influx('http://127.0.0.1:8086/mydb');
const fieldSchema = {
use: 'integer',
bytes: 'integer',
diff --git a/docs/lib_client.js.html b/docs/lib_client.js.html
index ddd313b..fc4fd2d 100644
--- a/docs/lib_client.js.html
+++ b/docs/lib_client.js.html
@@ -285,7 +285,7 @@ lib/client.js
* @return {String}
* @since 2.2.0
* @example
- * const formatType = clinet.format;
+ * const formatType = client.format;
* console.info(formatType);
* // => undefined
*/
@@ -354,7 +354,7 @@ lib/client.js
* use: 1000,
* })
* .queue();
- * console.info(clinet.writeQueueLength);
+ * console.info(client.writeQueueLength);
* // => 2
*/
get writeQueueLength() {
@@ -372,7 +372,7 @@ lib/client.js
* client.query('login')
* .set({limit: 1})
* .queue();
- * console.info(clinet.queryQueueLength);
+ * console.info(client.queryQueueLength);
* // => 2
*/
get queryQueueLength() {
@@ -776,13 +776,13 @@ lib/client.js
* @return {Promise}
* @since 2.2.0
* @example
- * const clinet = new Influx('http://127.0.0.1:8086/mydb')
+ * const client = new Influx('http://127.0.0.1:8086/mydb')
* client.queryRaw('select * from "http"')
* .then(console.info)
* .catch(console.error);
*
* @example
- * const clinet = new Influx('http://127.0.0.1:8086/mydb')
+ * const client = new Influx('http://127.0.0.1:8086/mydb')
* client.queryRaw('select * from "login"', 'testdb')
* .then(console.info)
* .catch(console.error);