SetNillableGroupUsers sets the "group_users" field if the given value is not nil.
(i *int)
| 1226 | |
| 1227 | // SetNillableGroupUsers sets the "group_users" field if the given value is not nil. |
| 1228 | func (uuo *UserUpdateOne) SetNillableGroupUsers(i *int) *UserUpdateOne { |
| 1229 | if i != nil { |
| 1230 | uuo.SetGroupUsers(*i) |
| 1231 | } |
| 1232 | return uuo |
| 1233 | } |
| 1234 | |
| 1235 | // SetGroupID sets the "group" edge to the Group entity by ID. |
| 1236 | func (uuo *UserUpdateOne) SetGroupID(id int) *UserUpdateOne { |
nothing calls this directly
no test coverage detected