ThanksSirAlex

Results comments of ThanksSirAlex

> reverse() 会改变数组本身,并返回原数组的引用。不是返回原数组吧,返回的是颠倒后的数组 确实是返回原数组,因为会改变数组本身,所以原数组已经已经颠倒了。

Is there any way that can help me track where these time were spent.

> Maybe related to [#6292 (comment)](https://github.com/go-gorm/gorm/issues/6292#issuecomment-1534487259) Not sure. It's super weird. I'm going to try more.

Close this issue. Because it turn out to be a mysql bug. When using `prepared statement` Mysql could chose wrong index. Fixed in Mysql 8.0.26.

@whoiami 了解了,不支持参数的话还是在文档里注明一下比较好?