UpdateUseCount sets the "use_count" field to the value that was provided on create.
()
| 929 | |
| 930 | // UpdateUseCount sets the "use_count" field to the value that was provided on create. |
| 931 | func (u *InviteCodeUpsertBulk) UpdateUseCount() *InviteCodeUpsertBulk { |
| 932 | return u.Update(func(s *InviteCodeUpsert) { |
| 933 | s.UpdateUseCount() |
| 934 | }) |
| 935 | } |
| 936 | |
| 937 | // SetExpiresAt sets the "expires_at" field. |
| 938 | func (u *InviteCodeUpsertBulk) SetExpiresAt(v time.Time) *InviteCodeUpsertBulk { |