跳到正文
数字商店
原文
dex· @dexhorthy · X·· 16 天前
正文 · AI 翻译

是啊,我当软件工程师的头三个月起就被 ORM 折腾惨了,以至于后来我待过的几家公司干脆全面禁用了它们——收益不值得付出那些代价

像 drizzle 这类类型安全的查询构建器,甚至 jdbi 这样的语法辅助工具才是正道

引用cole murray@colemurray
很多这种情况 ORM 很好用,但在大规模场景下你需要留意它们生成的查询。 很容易就会出现低效的查询 https://t.co/gMeIiXTMFJ
原文

many such cases ORMs are great, but at scale you need to pay attention to the queries they generate. very easy to end up with inefficient queries https://t.co/gMeIiXTMFJ

在 X 查看被引用的帖子

来源:dex · x.com