1.16.0 • Published 1 year ago
@watchdg/clickhouse-client v1.16.0
clickhouse-client
nodejs clickhouse client
Install
yarn add @watchdg/clickhouse-client
# or
npm install @watchdg/clickhouse-client
How to use
import {ClickhouseClient} from '@watchdg/clickhouse-client';
(async function () {
const clickhouseClient = new ClickhouseClient();
const {rows, data} = await clickhouseClient.query('select 1');
console.log(data);
})();
Supported formats
- TabSeparated (TSV)
- TabSeparatedRaw (TSVRaw)
- TabSeparatedWithNames (TSVWithNames)
- TabSeparatedWithNamesAndTypes (TSVWithNamesAndTypes)
Supported types
Clickhouse | NodeJS |
---|---|
Int8 | Number |
Int16 | Number |
Int32 | Number |
UInt8 | Number |
UInt16 | Number |
UInt32 | Number |
Float32 | Number |
Float64 | Number |
Int64 | BigInt |
Int128 | BigInt |
Int256 | BigInt |
UInt64 | BigInt |
UInt128 | BigInt |
UInt256 | BigInt |
Bool | Boolean |
DateTime | Date |
String | String |
UUID | String |
IPv4 | String |
IPv6 | String |
- Nullable(T)
- Array(T)
1.15.3
1 year ago
1.16.0
1 year ago
1.15.2
1 year ago
1.15.1
1 year ago
1.15.0
1 year ago
1.14.0
1 year ago
1.13.8
1 year ago
1.13.7
1 year ago
1.13.6
1 year ago
1.13.2
2 years ago
1.13.5
1 year ago
1.13.4
1 year ago
1.13.3
2 years ago
1.13.1
2 years ago
1.13.0
2 years ago
1.11.2
2 years ago
1.12.0
2 years ago
1.11.1
2 years ago
1.9.0
2 years ago
1.11.0
2 years ago
1.10.0
2 years ago
1.8.0
2 years ago
1.7.0
2 years ago
1.6.0
2 years ago
1.5.0
2 years ago
1.4.0
2 years ago
1.3.0
2 years ago
1.2.0
2 years ago
1.1.0
2 years ago
1.0.0
2 years ago