Connector/Node.js 3.0.2 Release Notes

Connector/Node.js 3.0.2 is a Stable (GA) release of MariaDB Connector/Node.js, released on 2022-10-27

circle-info

Downloadarrow-up-right | Release Notes | Changelog | Connector/Node.js Overview

Release date: 27 Oct 2022

MariaDB Connector/Node.js 3.0.2 is a Stable (GA) release.

circle-check

Notable Changes

permit streaming prepare statement result

Like queryStream, execute command can now be streamed as well for huge resultset, to avoid charging the whole resultset in memory. Example :

const prepare = await shareConn.prepare('SELECT * FROM mysql.user where host = ?');
const stream = prepare.executeStream(['localhost']);    
try {
  for await (const row of stream) {
    console.log(row);
  }
} catch (e) {
  queryStream.close();
}
prepare.close();

Issues Fixed

This page is: Copyright © 2025 MariaDB. All rights reserved.

spinner

Last updated

Was this helpful?