Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
21.52k
stars
487
forks
source link
[FEATURE]: Is there a plan to support defining data models using decorators, similar to TypeORM? #2218
Open
izhouteng opened 2 months ago
Describe what you want
The concept of this ORM framework is great, and I really like it, but I find the way of defining models not as convenient as TypeORM.
The current approach is not very convenient when used with the Nest.js framework.
Especially when defining relationship queries, it's quite unintuitive.
Drizzle ORM:
TypeORM:
Clearly, using decorators to define data models is much clearer and straightforward.