Update returns an update builder for Membership.
()
| 1752 | |
| 1753 | // Update returns an update builder for Membership. |
| 1754 | func (c *MembershipClient) Update() *MembershipUpdate { |
| 1755 | mutation := newMembershipMutation(c.config, OpUpdate) |
| 1756 | return &MembershipUpdate{config: c.config, hooks: c.Hooks(), mutation: mutation} |
| 1757 | } |
| 1758 | |
| 1759 | // UpdateOne returns an update builder for the given entity. |
| 1760 | func (c *MembershipClient) UpdateOne(_m *Membership) *MembershipUpdateOne { |
nothing calls this directly
no test coverage detected