Your Question

Gorm Count function not use TableName method if i use the CountRoleByIds function, then report unsupported data type: 0x1400003a688: Table not set, please set it like: db.Model(&user) or db.Table but when i use the GetRoleByIds function, it's ok. why Count not use the TableName

Comment From: a631807682

Because we have no way to get the table name