Release v2.1.0 of the Amazon QLDB Driver for Node.js
Release v2.1.0 (December 22 , 2020)
Note: A bug has been discovered in this version which results in No open transaction
or Transaction already open
errors, please use v2.2.0.
Add support for obtaining basic server-side statistics on individual statement executions.
Enhancements
- Added
IOUsage
andTimingInformation
interface to provide server-side execution statistics- IOUsage provides
getReadIOs(): number
- TimingInformation provides
getProcessingTimeMilliseconds(): number
- Added
getConsumedIOs(): IOUsage
andgetTimingInformation(): TimingInformation
to theResult
andResultStream
getConsumedIOs(): IOUsage
andgetTimingInformation(): TimingInformation
methods are stateful, meaning the statistics returned by them reflect the state at the time of method execution
- IOUsage provides
Check Getting statement statistics for details.