You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
232 B
15 lines
232 B
2 years ago
|
package hints
|
||
|
|
||
|
import "gorm.io/gorm/clause"
|
||
|
|
||
|
type Exprs []clause.Expression
|
||
|
|
||
|
func (exprs Exprs) Build(builder clause.Builder) {
|
||
|
for idx, expr := range exprs {
|
||
|
if idx > 0 {
|
||
|
builder.WriteByte(' ')
|
||
|
}
|
||
|
expr.Build(builder)
|
||
|
}
|
||
|
}
|