Server applies equality check predicate on the "server" field. It's identical to ServerEQ.
(v string)
| 78 | |
| 79 | // Server applies equality check predicate on the "server" field. It's identical to ServerEQ. |
| 80 | func Server(v string) predicate.Node { |
| 81 | return predicate.Node(sql.FieldEQ(FieldServer, v)) |
| 82 | } |
| 83 | |
| 84 | // SlaveKey applies equality check predicate on the "slave_key" field. It's identical to SlaveKeyEQ. |
| 85 | func SlaveKey(v string) predicate.Node { |