|
|
|
|
|
by sunfmin
4937 days ago
|
|
I actually want to see this: hd.Where("name = ?", name).Where("category = ?", category)
So that you can do conditional where easily, for example: hd = hd.Where("name = ?", name)
if category != "" {
hd = hd.Where("category = ?", category)
}
But It doesn't seem to support this? |
|