Socket
Socket
Sign inDemoInstall

clickhouse-ts

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clickhouse-ts - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

2

package.json

@@ -12,3 +12,3 @@ {

],
"version": "1.3.2",
"version": "1.3.3",
"license": "MIT",

@@ -15,0 +15,0 @@ "description": "Clickhouse client on TypeScript using nodejs ot redis caching queries",

@@ -93,9 +93,26 @@ # clickhouse-ts

{
r: 1,
result: {
cached: 2,
chunk: 'strings-1624746778066-4ebdfda07dc6e73a73a3c87490b8ebf0'
cached: 2,
chunk: 'strings-1624746778066-4ebdfda07dc6e73a73a3c87490b8ebf0'
}
*/
const response = clickhouseInstance
.insert(
'strings',
[{ date: '2021-01-01', string: 'str1' }, { date: '2021-01-02', string: 'str2' }],
{
responseFormat: 'CSVWithNames' // or another format
// another query options
}
)
.then(response => response)
.catch(e => serializeError(e))
response
/*
{
inserted: 2,
data: [...rows]
}
*/
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc