LastPushCleared returns if the "last_push" field was cleared in this mutation.
()
| 8984 | |
| 8985 | // LastPushCleared returns if the "last_push" field was cleared in this mutation. |
| 8986 | func (m *MachineMutation) LastPushCleared() bool { |
| 8987 | _, ok := m.clearedFields[machine.FieldLastPush] |
| 8988 | return ok |
| 8989 | } |
| 8990 | |
| 8991 | // ResetLastPush resets all changes to the "last_push" field. |
| 8992 | func (m *MachineMutation) ResetLastPush() { |