Comments (13)
Thanks for reporting this. It's a known issue on our list; your report helps prioritize it.
from node-oracledb.
+1
from node-oracledb.
I think this is needed for us to be able to use this repo.
from node-oracledb.
(we're returning a single value by the way)
from node-oracledb.
This feature is required to switch to this project. And the example above is exactly what we are doing.
from node-oracledb.
I'm sitting in a meeting right now discussing edge cases and how to make them easy to use.
from node-oracledb.
Any update on this issue? What was the outcome from the meeting? Thanks!
from node-oracledb.
@jamhall the feature is being worked on.
from node-oracledb.
Excellent. Thanks for your reply.
from node-oracledb.
hi @cjbj, any ETAs on this feature?
Thanks!
from node-oracledb.
@aberigle I don't do ETAs, but I will say we had a long meeting last night to triple-check we have the best design for RETURNING INTO binds with (future) PL/SQL IN/OUT array binds and normal IN array insert binds and any future OCI plans. A SQL RETURNING INTO clause can return an array, but we think most people will only be returning a single value. The outcome (and here's the timing hint) was that the code we currently have is not planned to change: a RETURNING INTO bind will always return an array, containing zero or more elements depending what was matched by the DML statement. Only string & number datatypes will be supported at first.
from node-oracledb.
@cjbj thanks for the input!
I'll be keeping an eye on this issue
from node-oracledb.
@aberigle That's definitely the last time I give a release date hint. But now we something to play with. Yay. Check my comments in https://blogs.oracle.com/opal/entry/node_oracledb_0_5_0
Note RETURNING INTO bind variables are always returned as arrays of zero or more elements.
from node-oracledb.
Related Issues (20)
- Add ability to pass in file content directly when connecting to Cloud Autonomous Databases with mTLS and 'thin' mode HOT 3
- When another Java-based service updates Oracle tables, the changes are not being detected by my subscription mechanism. HOT 1
- Error in host connection HOT 5
- Upgrading from 5.5.0 to latest 6 version HOT 12
- Testing with mocha times out on failed assert HOT 9
- Next.js 14 Thin mode: Critical dependency HOT 4
- Unable to run on Thick mode when using Bun runtime HOT 3
- Unable to get custom Package Type Object class using getDbObjectClass() HOT 3
- Is there any way to verify oracle SQL database connection is still alive or not? HOT 9
- Node version 20 upgrade is failing with node-oracledb v6.5.1 HOT 6
- executeMany() offsets index of dbl returning variables on index HOT 6
- NJS-111: internal error: read a negative integer when expecting a positive integer at position 4475 of packet 80463 HOT 14
- Intermittent "ORA-12154: TNS:could not resolve the connect identifier specified" HOT 4
- When batchErrors=true and dmlRowCounts=true the dmlRowCounts property returns values of 0's in a executeMany of a MERGE statement after first error is hit HOT 1
- macOS (Darwin) arm64 binary variant? HOT 2
- `esbuild --bundle` no longer works with v6.6.0 as missing packages HOT 8
- node-oracledb 6.6 is now available! HOT 1
- segmentation fault while closing connection pool to db HOT 2
- Error: Module not found: Can't resolve '@azure/app-configuration' HOT 11
- Include REGISTRATION_ID in the callback message parameter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-oracledb.