Skip to content

Commit

Permalink
fix: add default value on stream query oracledb (knex#6028)
Browse files Browse the repository at this point in the history
  • Loading branch information
gabolera committed Mar 20, 2024
1 parent aedba5e commit f4e53bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dialects/oracle/index.js
Expand Up @@ -42,7 +42,7 @@ class Client_Oracle extends Client {
});
}

_stream(connection, obj, stream, options) {
_stream(connection, obj, stream, options = {}) {
if (!obj.sql) throw new Error('The query is empty');

return new Promise(function (resolver, rejecter) {
Expand Down

0 comments on commit f4e53bf

Please sign in to comment.