TimonKK / clickhouse

NodeJS client for ClickHouse
Apache License 2.0
221 stars 122 forks source link

Update clause supported #57

Closed sliontc closed 4 years ago

sliontc commented 4 years ago

Does the library support update clause?

TimonKK commented 4 years ago

You can use query method:

await clickhouse.query('ALTER TABLE table UPDATE column1 = expr1 WHERE filter_expr').exec();

with query from docs

sliontc commented 4 years ago

Thanks. I will try.