MetadataCleared reports if the "metadata" edge to the Metadata entity was cleared.
()
| 3799 | |
| 3800 | // MetadataCleared reports if the "metadata" edge to the Metadata entity was cleared. |
| 3801 | func (m *FileMutation) MetadataCleared() bool { |
| 3802 | return m.clearedmetadata |
| 3803 | } |
| 3804 | |
| 3805 | // RemoveMetadatumIDs removes the "metadata" edge to the Metadata entity by IDs. |
| 3806 | func (m *FileMutation) RemoveMetadatumIDs(ids ...int) { |