Skip to Main Content

Programming Languages & Frameworks

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How can I create a connection to TypeORM?

Greetings community,

I have a question about how to implement an Oracle Autonomous Database (Cloud) connection, I have already achieved it with the Oracle documentation with node.js, but I want to implement ORM and I found a node library that is TYPE.ORM and I do not want to use standard javascript (db.js) but use typescript (db.ts), but still and I would like to know if you have been able to implement ORM with an autonomous database:
db.ts :
image.pngormconfig.json :
image.png
So is my connection to oracle documentation with node.js (NODE-ORACLE) working correctly for me:
image.png
I would like to know how you made your connection, if you were able to employ ORM or used SQL statements, and how I can employ good practices to avoid vulnerabilities.

Thank you very much.

Comments

Post Details

Added on Nov 9 2021
7 comments
7,341 views