SetUseCount sets the "use_count" field.
(v int)
| 915 | |
| 916 | // SetUseCount sets the "use_count" field. |
| 917 | func (u *InviteCodeUpsertBulk) SetUseCount(v int) *InviteCodeUpsertBulk { |
| 918 | return u.Update(func(s *InviteCodeUpsert) { |
| 919 | s.SetUseCount(v) |
| 920 | }) |
| 921 | } |
| 922 | |
| 923 | // AddUseCount adds v to the "use_count" field. |
| 924 | func (u *InviteCodeUpsertBulk) AddUseCount(v int) *InviteCodeUpsertBulk { |