通过查看这个文章得到的问题:https://cloud.tencent.com/developer/article/2056863

Comment From: github-actions[bot]

The issue has been automatically marked as stale as it missing playground pull request link, which is important to help others understand your issue effectively and make sure the issue hasn't been fixed on latest master, checkout https://github.com/go-gorm/playground for details. it will be closed in 30 days if no further activity occurs. if you are asking question, please use the Question template, most likely your question already answered https://github.com/go-gorm/gorm/issues or described in the document https://gorm.io ✨ Search Before Asking

Comment From: jinzhu

Try changing the order of sqlx and gorm to see the performance difference. I remember from performance tests that gorm is somewhat better than sqlx. Also, you can try https://github.com/go-gorm/orm-benchmark. However, in actual use, performance doesn't really have much impact, as the bottleneck is usually in the database.

Comment From: fineCoderWithLove

ok,我明白了,感谢您的回复

长安少年 @.***

 

------------------ 原始邮件 ------------------ 发件人: "go-gorm/gorm" @.>; 发送时间: 2023年11月15日(星期三) 下午3:30 @.>; @.>;"State @.>; 主题: Re: [go-gorm/gorm] sqlx和Gorm相比,sqlx性能更好一点,使用Gorm仅仅是为了预防sql注入嘛 (Issue #6688)

Try changing the order of sqlx and gorm to see the performance difference. I remember from performance tests that gorm is somewhat better than sqlx. Also, you can try https://github.com/go-gorm/orm-benchmark. However, in actual use, performance doesn't really have much impact, as the bottleneck is usually in the database.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>