Closed duguying closed 3 years ago
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 2 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 ✨
是我自己程序的问题,问题在in里面,拼接了引号,变成了 in ("'xxx'","'6214a122-9ad0-4cc9-8a13-c0c6ff02dd19'")
mysql中实际查询结果有一条数据,这里用count,无论如何也是有1条数据,日志显示返回结果0
@jinzhu