Where appends a list predicates to the UserMutation builder.
(ps ...predicate.User)
| 14705 | |
| 14706 | // Where appends a list predicates to the UserMutation builder. |
| 14707 | func (m *UserMutation) Where(ps ...predicate.User) { |
| 14708 | m.predicates = append(m.predicates, ps...) |
| 14709 | } |
| 14710 | |
| 14711 | // WhereP appends storage-level predicates to the UserMutation builder. Using this method, |
| 14712 | // users can use type-assertion to append predicates that do not depend on any generated package. |