-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ExecuteMany() Method Missing #1089
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
Comments
Can you share your code? The method name is |
Sure - I when I hover over execute() for example, I can get a definition in a typescript file. When i hover over executeMany(), no such definition. So I'm thinking the 'class' is not installed. I was thinking if the 'class' typescript source code exists in github, maybe I could just copy the file into the 3.4.3 type folder and it would be fixed? Code
Debugger attached. TypeError: connection.executeMany is not a function |
node-oracledb currently doesn't have an official Typescript definition file -- so you'll have to contact whoever created the Typescript definition file you are using and see if they can include executeMany(), or add it yourself! |
The typescript file is out of date. You could submit a PR with an update if you like. |
If it's not clear: you should still be able to call executeMany() |
thanks, I was going mental over misunderstanding typescript... curse my .NET background............ Thank you guys!! |
Hey I noticed that in my oracledb installation, the ExecuteMany() function is not available.
Is there any way to install the files (maybe Typescript?) needed to use the method/function manually? OracleDB is already installed, and I can connect to my DB's, I'm just not sure why the ExecuteMany() function wouldn't be installed?
Answer the following questions:
What is your Node.js version: v8.11.3 64-bit
What is your node-oracledb version: 3.1.2
What OS (and version) is Node.js executing on: win32
What is your Oracle client (e.g. Instant Client) version: use 11.2.0.4.0? 64-bit installed on the C drive.
What is your Oracle Database version: 11.2.0.4.0
What is the
PATH
environment variable (on Windows) orLD_LIBRARY_PATH
(on Linux) set to? On macOS, what is in~/lib
? Not sureThe text was updated successfully, but these errors were encountered: