TimonKK / clickhouse

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

JSONEachRow #136

Open SEA99 opened 1 year ago

SEA99 commented 1 year ago

support JSONEachRow format added. This format allow insert arrays of objects or write objects to insert stream in cases when field list can not be parsed.

i.e. "insert into test_array (*)".

TabSeparated is still default format, hence you should set format:

insert into test_array (*) FORMAT JSONEachRow

WebRookieSyb commented 1 year ago

it solved my problem

SEA99 commented 1 year ago

Should I do something for confirm?