ResetFile resets all changes to the "file" edge.
()
| 6799 | |
| 6800 | // ResetFile resets all changes to the "file" edge. |
| 6801 | func (m *MetadataMutation) ResetFile() { |
| 6802 | m.file = nil |
| 6803 | m.clearedfile = false |
| 6804 | } |
| 6805 | |
| 6806 | // Where appends a list predicates to the MetadataMutation builder. |
| 6807 | func (m *MetadataMutation) Where(ps ...predicate.Metadata) { |