ValueCleared returns if the "value" field was cleared in this mutation.
()
| 11151 | |
| 11152 | // ValueCleared returns if the "value" field was cleared in this mutation. |
| 11153 | func (m *SettingMutation) ValueCleared() bool { |
| 11154 | _, ok := m.clearedFields[setting.FieldValue] |
| 11155 | return ok |
| 11156 | } |
| 11157 | |
| 11158 | // ResetValue resets all changes to the "value" field. |
| 11159 | func (m *SettingMutation) ResetValue() { |