有了 Prisma 就别用 TypeORM 了 | 愧怍的小站 #266
Replies: 6 comments 3 replies
-
|
写的真不错! |
Beta Was this translation helpful? Give feedback.
-
|
zod 和 class-validator 推荐哪个啊 |
Beta Was this translation helpful? Give feedback.
-
|
对比 drizzle-orm 呢,大佬也给讲讲呗 |
Beta Was this translation helpful? Give feedback.
-
|
嗨!我正在基于midway开发,我注意到官方推荐的就是TypeORM,Sequelize、MikroORM,您觉得其中哪个ORM框架比较好呢? |
Beta Was this translation helpful? Give feedback.
-
|
Prisma 两个恶心的坑,第一个如果参数是 undefined,他妈的能把数据全部查出来,还有一个坑是 datetime 在 sqlite上简直玄乎,都不知道怎么样才合适,后面直接用int存时间戳 |
Beta Was this translation helpful? Give feedback.
-
|
getOne查询实体外的聚合数据当时给我研究了好久,结果发现getRawOne才行,而且实体字段还会有前缀,直接无解 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
有了 Prisma 就别用 TypeORM 了 | 愧怍的小站
要说 2024 年 Node.js 的 ORM 框架应该选择哪个?毫无疑问选 Prisma。至于为何,请听我细细道来。
https://kuizuo.cn/blog/with-prisma-dont-use-typeorm/
Beta Was this translation helpful? Give feedback.
All reactions