Skip to content

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

@lingcoder

Description

@lingcoder

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的随机排序

Metadata

Metadata

Assignees

Labels

bugIt is confirmed a bug, but don't worry, we'll handle it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions