UpdatedAt returns the value of the "updated_at" field in the mutation.
()
| 241 | |
| 242 | // UpdatedAt returns the value of the "updated_at" field in the mutation. |
| 243 | func (m *AlertMutation) UpdatedAt() (r time.Time, exists bool) { |
| 244 | v := m.updated_at |
| 245 | if v == nil { |
| 246 | return |
| 247 | } |
| 248 | return *v, true |
| 249 | } |
| 250 | |
| 251 | // OldUpdatedAt returns the old "updated_at" field's value of the Alert entity. |
| 252 | // If the Alert object wasn't provided to the builder, the object is fetched from the database. |