IsSystem applies equality check predicate on the "is_system" field. It's identical to IsSystemEQ.
(v bool)
| 103 | |
| 104 | // IsSystem applies equality check predicate on the "is_system" field. It's identical to IsSystemEQ. |
| 105 | func IsSystem(v bool) predicate.APIToken { |
| 106 | return predicate.APIToken(sql.FieldEQ(FieldIsSystem, v)) |
| 107 | } |
| 108 | |
| 109 | // NameEQ applies the EQ predicate on the "name" field. |
| 110 | func NameEQ(v string) predicate.APIToken { |