panic: interface conversion: interface {} is int64, not []uint8

Why often report panic like this when I USING GORM?

db.Find(&records) // test ok

db.where("xn = ?", args).Find(&records) //test error (panic interface conversion)

db.where("xn = ?", "2022-2023").Find(&records) //no records when xn = '2022-2023' in table it tests ok

Comment From: github-actions[bot]

This issue has been automatically marked as stale because it has been open 360 days with no activity. Remove stale label or comment or this will be closed in 180 days

Comment From: saeidee

Please write a proper description and steps to reproduce the issue with a PR here https://github.com/go-gorm/playground