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

Updating raw query bind parameter type #5208

Merged
merged 1 commit into from Jun 20, 2022

Conversation

Deegiimurun
Copy link
Contributor

@Deegiimurun Deegiimurun commented Jun 5, 2022

Allowing custom object type in bind parameter for raw query. For example when calling oracle stored procedure like

Person.knex().raw('CALL TEST_PACKAGE.TEST(?, ?)', [
  { type: OracleDB.CURSOR, dir: OracleDB.BIND_OUT },
  { type: OracleDB.NUMBER, dir: OracleDB.BIND_OUT },
]).then(res => {
  console.log(res)
})

Allowing custom object type in bind parameter for raw query.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 92.223% when pulling fba211a on Deegiimurun:master into 29ba203 on knex:master.

@OlivierCavadenti OlivierCavadenti merged commit a0c6947 into knex:master Jun 20, 2022
@kibertoad
Copy link
Collaborator

Released in 2.2.0

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

4 participants