AddDirectLinkIDs adds the "direct_links" edge to the DirectLink entity by IDs.
(ids ...int)
| 256 | |
| 257 | // AddDirectLinkIDs adds the "direct_links" edge to the DirectLink entity by IDs. |
| 258 | func (fc *FileCreate) AddDirectLinkIDs(ids ...int) *FileCreate { |
| 259 | fc.mutation.AddDirectLinkIDs(ids...) |
| 260 | return fc |
| 261 | } |
| 262 | |
| 263 | // AddDirectLinks adds the "direct_links" edges to the DirectLink entity. |
| 264 | func (fc *FileCreate) AddDirectLinks(d ...*DirectLink) *FileCreate { |