Skip to content

QueryStream broken in Node 4 and 6 (2.1) #847

@wubzz

Description

@wubzz
  1. What is your Node.js version? Is it 64-bit or 32-bit? Run version.js from
    64-bit v4.8.7 & v6.13.0

  2. What is your node-oracledb version?
    Latest

  3. What error(s) you are seeing?

Uncaught TypeError: self.destroy is not a function

After this commit our CI tests over at knex started breaking with the above error message. After some digging I realized that .destroy was added to ReadableStream in node 8+, which means the current version of the lib does not work for Node < 8.

The README states

Use node-oracledb to connect Node.js 4, 6, 8 and 9 to Oracle Database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions