questdb / nodejs-questdb-client

QuestDB Node.js Client
35 stars 8 forks source link

feat(nodejs): set copyBuffer to 'true' by default #18

Closed glasstiger closed 1 year ago

glasstiger commented 1 year ago

Changing the default value of Sender option copyBuffer to true. This is to avoid duplicate rows if calls to the client are not or cannot be serialized (i.e. missing await keyword).

Also added a code example to show how to ingest data using worker threads.