gf icon indicating copy to clipboard operation
gf copied to clipboard

frame/g: The random sorting method in gdb is not compatible with Sqlite

Open lingcoder opened this issue 1 year ago • 1 comments

Go version

go version go1.22.4 windows/amd64

GoFrame version

2.7.2

Can this bug be reproduced with the latest release?

Option Yes

What did you do?

0ad7afa188a91cb40294d9285a59ae3

sqlite中语法是 ORDER BY RANDOM(),mysql语法是 ORDER BY RAND(),goframe的代码里写死了只支持RAND()

What did you see happen?

执行到此会报错

What did you expect to see?

希望从驱动层面支持sqlite的随机排序

lingcoder avatar Jul 25 '24 01:07 lingcoder

Hey, i would like to work on this issue. Thanks!!

flow6979 avatar Aug 16 '24 12:08 flow6979