ServerHasPrefix applies the HasPrefix predicate on the "server" field.
(v string)
| 378 | |
| 379 | // ServerHasPrefix applies the HasPrefix predicate on the "server" field. |
| 380 | func ServerHasPrefix(v string) predicate.Node { |
| 381 | return predicate.Node(sql.FieldHasPrefix(FieldServer, v)) |
| 382 | } |
| 383 | |
| 384 | // ServerHasSuffix applies the HasSuffix predicate on the "server" field. |
| 385 | func ServerHasSuffix(v string) predicate.Node { |