Skip to content

1.4.0 (Node.js only)

Compare
Choose a tag to compare
@slvrtrn slvrtrn released this 12 Jul 14:04
· 47 commits to main since this release
e78b6f0

New features

  • (Node.js only) The exec method now accepts an optional values parameter, which allows you to pass the request body as a Stream.Readable. This can be useful in the case of custom insert streaming with arbitrary ClickHouse data formats (which might not be explicitly supported and allowed by the client in the insert method yet). NB: in this case, you are expected to serialize the data in the stream in the required input format yourself. See #290 for more details.

Improvements

  • (Node.js only) The client package now exports a utility method drainStream