Comments (9)
wasn't planning to since I prefer async lib, but I can do that since I see many wanted it for orabledb.
so guess in around a day or 2 I'll publish something.
from simple-oracledb.
Great job. Your library helped me a lot. I would like to use Promise in all my server functions to standarize the way my product is developed having Promise in front aplication and in my backend too. This way the code in front and backend are the same.
from simple-oracledb.
All done and published (version 0.1.95)
Please check on your end that it works good.
from simple-oracledb.
version 0.1.97 now also automatically promisify any extension on top simple-oracledb, for example oracledb-upsert
from simple-oracledb.
Bravo. Great Job.
from simple-oracledb.
One more question. Is there any way to log all executed querys ? Now I have a custom function to show in the console the execute query or PL/SQL block. But I would like to activate some DEBUG flag globally to show or hide the executed query by any function.
from simple-oracledb.
I can add it. should be very simple.
will do it probably tomorrow using the debug flag https://github.com/sagiegurari/simple-oracledb/#debug
from simple-oracledb.
Great. I suggest to add some debug level to show the sentence ( one debug level ) and bind values ( another debug level ). maybe some extra values like connected user, date, hour, etc.
from simple-oracledb.
if you are now running with the NODE_DEBUG flag, all SQLs that go through the connection.execute (that means also all extended connection operations such as query/insert/batchXXX etc...) will be printed with bind params.
However, it does not cover the connection.queryStream function found in the oracledb connection object since I don't use it in simple-oracledb (although funny thing is that I wrote it for oracledb via pull request).
Hope it solves your issue.
If there are problems with that debug printing, please open a new issue.
from simple-oracledb.
Related Issues (20)
- increase select query performance HOT 5
- is there any possiblity to add stream result on "connection.transaction" ? HOT 4
- is there any possibility to quickly gets row id that inserted newly to table ? HOT 1
- about data streaming performance HOT 7
- take clue from pg-promise for promise support HOT 7
- query function returns columns with value null as undefined HOT 3
- change object streams into text stream HOT 1
- Examples HOT 4
- TypeScript Definition Files HOT 3
- delay in fetching data issues HOT 10
- When executing batchInsert, DB errors are not available in the callback err param HOT 3
- ResultSet HOT 2
- investigate performance improvement by using new executemany HOT 10
- investigate performance improvement by using new ping instead of select from dual HOT 1
- Error: Callback not provided HOT 5
- Problem with getConnection() if server doesn't respond to validationSQL HOT 9
- bound param of value null causes error HOT 12
- DPI-1040: LOB was already closed HOT 19
- query command return only first 100 row HOT 1
- is simple oracledb or oracledb delete null column result ? HOT 4
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 simple-oracledb.