File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 55[ ![ npm] ( http://img.shields.io/npm/v/influxdb-nodejs.svg?style=flat-square )] ( https://www.npmjs.org/package/influxdb-nodejs )
66[ ![ Github Releases] ( https://img.shields.io/npm/dm/influxdb-nodejs.svg?style=flat-square )] ( https://github.com/vicanso/influxdb-nodejs )
77
8- A simple clinet for influxdb, including these features:
8+ A simple client for influxdb, including these features:
99
1010- Writing multiple points
1111
@@ -25,7 +25,7 @@ Writing multiple points and set schema for measurment
2525
2626``` js
2727const Influx = require (' influxdb-nodejs' );
28- const clinet = new Influx (' http://127.0.0.1:8086/mydb' );
28+ const client = new Influx (' http://127.0.0.1:8086/mydb' );
2929const fieldSchema = {
3030 use: ' integer' ,
3131 bytes: ' integer' ,
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ class Client extends EventEmitter {
242242 * @return {String }
243243 * @since 2.2.0
244244 * @example
245- * const formatType = clinet .format;
245+ * const formatType = client .format;
246246 * console.info(formatType);
247247 * // => undefined
248248 */
@@ -311,7 +311,7 @@ class Client extends EventEmitter {
311311 * use: 1000,
312312 * })
313313 * .queue();
314- * console.info(clinet .writeQueueLength);
314+ * console.info(client .writeQueueLength);
315315 * // => 2
316316 */
317317 get writeQueueLength ( ) {
@@ -329,7 +329,7 @@ class Client extends EventEmitter {
329329 * client.query('login')
330330 * .set({limit: 1})
331331 * .queue();
332- * console.info(clinet .queryQueueLength);
332+ * console.info(client .queryQueueLength);
333333 * // => 2
334334 */
335335 get queryQueueLength ( ) {
@@ -733,13 +733,13 @@ class Client extends EventEmitter {
733733 * @return {Promise }
734734 * @since 2.2.0
735735 * @example
736- * const clinet = new Influx('http://127.0.0.1:8086/mydb')
736+ * const client = new Influx('http://127.0.0.1:8086/mydb')
737737 * client.queryRaw('select * from "http"')
738738 * .then(console.info)
739739 * .catch(console.error);
740740 *
741741 * @example
742- * const clinet = new Influx('http://127.0.0.1:8086/mydb')
742+ * const client = new Influx('http://127.0.0.1:8086/mydb')
743743 * client.queryRaw('select * from "login"', 'testdb')
744744 * .then(console.info)
745745 * .catch(console.error);
You can’t perform that action at this time.
0 commit comments