Value returns the ent.Value that was dynamically selected and assigned to the Machine. This includes values selected through modifiers, order, etc.
(name string)
| 231 | // Value returns the ent.Value that was dynamically selected and assigned to the Machine. |
| 232 | // This includes values selected through modifiers, order, etc. |
| 233 | func (_m *Machine) Value(name string) (ent.Value, error) { |
| 234 | return _m.selectValues.Get(name) |
| 235 | } |
| 236 | |
| 237 | // QueryAlerts queries the "alerts" edge of the Machine entity. |
| 238 | func (_m *Machine) QueryAlerts() *AlertQuery { |