AddShareIDs adds the "shares" edge to the Share entity by IDs.
(ids ...int)
| 211 | |
| 212 | // AddShareIDs adds the "shares" edge to the Share entity by IDs. |
| 213 | func (uc *UserCreate) AddShareIDs(ids ...int) *UserCreate { |
| 214 | uc.mutation.AddShareIDs(ids...) |
| 215 | return uc |
| 216 | } |
| 217 | |
| 218 | // AddShares adds the "shares" edges to the Share entity. |
| 219 | func (uc *UserCreate) AddShares(s ...*Share) *UserCreate { |