Open
Description
GORM Playground Link
Description
I have passed the basicCondition
map into the Where
function for a long time.
basicCondition := map[string]string{
fmt.Sprintf("%s.is_deleted", tableName): "false",
}
return gorm.Table(tableName).Where(basicCondition)
When I upgrade the version to v1.30.0
, I found the error that the table name is duplicate.
Can you please make an enhancement of being compatible with old version.
"tableName"."tableName"."is_deleted" = 'false'