diff --git a/docs/Client.html b/docs/Client.html index 537d331..2597156 100644 --- a/docs/Client.html +++ b/docs/Client.html @@ -553,7 +553,7 @@

formatExample

-
const formatType = clinet.format;
+    
const formatType = client.format;
 console.info(formatType);
 // => undefined
@@ -632,7 +632,7 @@
Example
client.query('login') .set({limit: 1}) .queue(); -console.info(clinet.queryQueueLength); +console.info(client.queryQueueLength); // => 2
@@ -943,7 +943,7 @@
Example
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')
+    
const client = new Influx('http://127.0.0.1:8086/mydb')
 client.queryRaw('select * from "login"', 'testdb')
   .then(console.info)
   .catch(console.error);
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 @@

Coverage Status npm Github Releases

-

A simple clinet for influxdb, including these features:

+

A simple client for influxdb, including these features:

  • Writing multiple points

  • @@ -71,7 +71,7 @@

Installation

$ npm install influxdb-nodejs

Examples

Writing 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);