Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions docs/Client.html
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ <h4 class="name" id="format"><span class="type-signature"></span>format<span cla

<h5>Example</h5>

<pre class="prettyprint"><code>const formatType = clinet.format;
<pre class="prettyprint"><code>const formatType = client.format;
console.info(formatType);
// => undefined</code></pre>

Expand Down Expand Up @@ -632,7 +632,7 @@ <h5>Example</h5>
client.query('login')
.set({limit: 1})
.queue();
console.info(clinet.queryQueueLength);
console.info(client.queryQueueLength);
// => 2</code></pre>


Expand Down Expand Up @@ -943,7 +943,7 @@ <h5>Example</h5>
use: 1000,
})
.queue();
console.info(clinet.writeQueueLength);
console.info(client.writeQueueLength);
// => 2</code></pre>


Expand Down Expand Up @@ -2732,12 +2732,12 @@ <h4 class="name" id="queryRaw"><span class="type-signature"></span>queryRaw<span

<h5>Examples</h5>

<pre class="prettyprint"><code>const clinet = new Influx('http://127.0.0.1:8086/mydb')
<pre class="prettyprint"><code>const client = new Influx('http://127.0.0.1:8086/mydb')
client.queryRaw('select * from "http"')
.then(console.info)
.catch(console.error);</code></pre>

<pre class="prettyprint"><code>const clinet = new Influx('http://127.0.0.1:8086/mydb')
<pre class="prettyprint"><code>const client = new Influx('http://127.0.0.1:8086/mydb')
client.queryRaw('select * from "login"', 'testdb')
.then(console.info)
.catch(console.error);</code></pre>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h3> </h3>
<a href="https://coveralls.io/r/vicanso/influxdb-nodejs?branch=master"><img src="https://img.shields.io/coveralls/vicanso/influxdb-nodejs/master.svg?style=flat" alt="Coverage Status"></a>
<a href="https://www.npmjs.org/package/influxdb-nodejs"><img src="http://img.shields.io/npm/v/influxdb-nodejs.svg?style=flat-square" alt="npm"></a>
<a href="https://github.com/vicanso/influxdb-nodejs"><img src="https://img.shields.io/npm/dm/influxdb-nodejs.svg?style=flat-square" alt="Github Releases"></a></p>
<p>A simple clinet for influxdb, including these features:</p>
<p>A simple client for influxdb, including these features:</p>
<ul>
<li><p>Writing multiple points</p>
</li>
Expand All @@ -71,7 +71,7 @@ <h3> </h3>
</ul>
<h2>Installation</h2><pre class="prettyprint source lang-js"><code>$ npm install influxdb-nodejs</code></pre><h2>Examples</h2><p>Writing multiple points and set schema for measurment</p>
<pre class="prettyprint source lang-js"><code>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',
Expand Down
10 changes: 5 additions & 5 deletions docs/lib_client.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ <h1 class="page-title">lib/client.js</h1>
* @return {String}
* @since 2.2.0
* @example
* const formatType = clinet.format;
* const formatType = client.format;
* console.info(formatType);
* // => undefined
*/
Expand Down Expand Up @@ -354,7 +354,7 @@ <h1 class="page-title">lib/client.js</h1>
* use: 1000,
* })
* .queue();
* console.info(clinet.writeQueueLength);
* console.info(client.writeQueueLength);
* // => 2
*/
get writeQueueLength() {
Expand All @@ -372,7 +372,7 @@ <h1 class="page-title">lib/client.js</h1>
* client.query('login')
* .set({limit: 1})
* .queue();
* console.info(clinet.queryQueueLength);
* console.info(client.queryQueueLength);
* // => 2
*/
get queryQueueLength() {
Expand Down Expand Up @@ -776,13 +776,13 @@ <h1 class="page-title">lib/client.js</h1>
* @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);
Expand Down