Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This is a patch to fix issues #1901, #2990 and #2991 #3449

Merged
merged 3 commits into from
Sep 22, 2019

Conversation

oitTim
Copy link
Contributor

@oitTim oitTim commented Sep 21, 2019

We use Oracle stored procedures and get the error 'expecting an array or an iterable object but got [object Null]' . This bugfix is kind of important as we convert old MuleSoft flows to Node endpoints.

Let me know if you need any more information or documentation.

package.json Outdated
@@ -36,6 +36,7 @@
"liftoff": "3.1.0",
"lodash": "^4.17.15",
"mkdirp": "^0.5.1",
"oracledb": "^4.0.1",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be preferable to avoid adding this, but instead move tests to integration test suite and skipping it for non-oracle dbs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where in the integrations folder should I place the tests?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say that https://github.com/tgriesser/knex/tree/master/test/integration/builder, probablyadditional, since I assume this is not a select per se?

@elhigu
Copy link
Member

elhigu commented Sep 22, 2019

Did we have some wiki or cookbook for knex? That kind of entry would be great for documentation. Also great work, this has been very wanted feature 👍

Copy link
Member

@elhigu elhigu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flawless victory!

@oitTim
Copy link
Contributor Author

oitTim commented Sep 22, 2019

I will create a cookbook on how to call an oracle stored procedure and get the results :D

@elhigu
Copy link
Member

elhigu commented Sep 22, 2019

https://github.com/tgriesser/knex/wiki/Recipes

@oitTim
Copy link
Contributor Author

oitTim commented Sep 22, 2019

Simple example added to the recipe.

@kibertoad kibertoad merged commit 68e1ae2 into knex:master Sep 22, 2019
@kibertoad
Copy link
Collaborator

Released in 0.19.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants