SetFileID sets the "file" edge to the File entity by id.
(id int)
| 12040 | |
| 12041 | // SetFileID sets the "file" edge to the File entity by id. |
| 12042 | func (m *ShareMutation) SetFileID(id int) { |
| 12043 | m.file = &id |
| 12044 | } |
| 12045 | |
| 12046 | // ClearFile clears the "file" edge to the File entity. |
| 12047 | func (m *ShareMutation) ClearFile() { |
no outgoing calls
no test coverage detected