ServerContains applies the Contains predicate on the "server" field.
(v string)
| 373 | |
| 374 | // ServerContains applies the Contains predicate on the "server" field. |
| 375 | func ServerContains(v string) predicate.Node { |
| 376 | return predicate.Node(sql.FieldContains(FieldServer, v)) |
| 377 | } |
| 378 | |
| 379 | // ServerHasPrefix applies the HasPrefix predicate on the "server" field. |
| 380 | func ServerHasPrefix(v string) predicate.Node { |