1. 现在写条件很多都是字符串形式例如db.Where("id = ?", 11).Find(&aic) 如果数据库发生变更,修改代码工作量会很大, 做成例如db.Select(Aic.Id, Aic.Name).Where.eq(Aic.Id, 1).eq(Aic.Name, "jack").Find(&aic) , 这样数据库字段变更之之后ide会编译失败提醒
2. 超长sql处理机制,希望能做个类似mybatis.xml一样的,便于编写,调试复杂sql
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 ✨