UpdateMaxUses sets the "max_uses" field to the value that was provided on create.
()
| 908 | |
| 909 | // UpdateMaxUses sets the "max_uses" field to the value that was provided on create. |
| 910 | func (u *InviteCodeUpsertBulk) UpdateMaxUses() *InviteCodeUpsertBulk { |
| 911 | return u.Update(func(s *InviteCodeUpsert) { |
| 912 | s.UpdateMaxUses() |
| 913 | }) |
| 914 | } |
| 915 | |
| 916 | // SetUseCount sets the "use_count" field. |
| 917 | func (u *InviteCodeUpsertBulk) SetUseCount(v int) *InviteCodeUpsertBulk { |