0.5.7 • Published 3 years ago

node-clickhouze v0.5.7

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

clickhouze

Naive clickhouse client

Installation

npm i node-clickhouze

Usage

const client = require('clickhouze')({
	host: '127.0.0.1',
	port: 8123,
})

client.insert('events', { category: 'a', tag1: '2', tag2: '3' })
	.then(() => console.log('inserted'))

client.query('select count() from events')
	.then(result => console.log(result))

client.batchInsert('events', [{ a: 1 }, { a: 2 }, { a: 3 }])
0.5.7

3 years ago

0.5.6

4 years ago

0.4.6

5 years ago

0.4.5

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago