AddEntityIDs adds the "entities" edge to the Entity entity by IDs.
(ids ...int)
| 271 | |
| 272 | // AddEntityIDs adds the "entities" edge to the Entity entity by IDs. |
| 273 | func (uc *UserCreate) AddEntityIDs(ids ...int) *UserCreate { |
| 274 | uc.mutation.AddEntityIDs(ids...) |
| 275 | return uc |
| 276 | } |
| 277 | |
| 278 | // AddEntities adds the "entities" edges to the Entity entity. |
| 279 | func (uc *UserCreate) AddEntities(e ...*Entity) *UserCreate { |