ORM is a tools that make Back-End Application tier to connect Database more easy.
On 2024, JavaScript still in trending and best framework for Back-End Application is Express.js. The problem is the callback issue of Express.js but we can solve it easy by using ORM.
I try to find the Best Open Source ORM for my project and focus only no Pricing to limit the function on their website. Then the result is the old one as TypeORM and the new one as DrizzleORM.
1.TypeORM
TypeORM is the TypeScript base library with Active Record Concept. We can set the database table as Object and easy to use for read / update the data on RDBMS. Not need SQL for Basic Actions.
2.DrizzleORM
DrizzleORM is the TypeScript base library with SQL Concept. This is a Database Connection Object base and we must understand the SQL command to control all actions. Flexible but need more learning curve.
Finally, TypeORM is better or DrizzleORM is better. It up to your project environments and team members.
See ya next time m(_ _)m