AddShares adds the "shares" edges to the Share entity.
(s ...*Share)
| 1281 | |
| 1282 | // AddShares adds the "shares" edges to the Share entity. |
| 1283 | func (uuo *UserUpdateOne) AddShares(s ...*Share) *UserUpdateOne { |
| 1284 | ids := make([]int, len(s)) |
| 1285 | for i := range s { |
| 1286 | ids[i] = s[i].ID |
| 1287 | } |
| 1288 | return uuo.AddShareIDs(ids...) |
| 1289 | } |
| 1290 | |
| 1291 | // AddPasskeyIDs adds the "passkey" edge to the Passkey entity by IDs. |
| 1292 | func (uuo *UserUpdateOne) AddPasskeyIDs(ids ...int) *UserUpdateOne { |
nothing calls this directly
no test coverage detected