GetValue returns the ent.Value that was dynamically selected and assigned to the RedeemCode. This includes values selected through modifiers, order, etc.
(name string)
| 195 | // GetValue returns the ent.Value that was dynamically selected and assigned to the RedeemCode. |
| 196 | // This includes values selected through modifiers, order, etc. |
| 197 | func (_m *RedeemCode) GetValue(name string) (ent.Value, error) { |
| 198 | return _m.selectValues.Get(name) |
| 199 | } |
| 200 | |
| 201 | // QueryUser queries the "user" edge of the RedeemCode entity. |
| 202 | func (_m *RedeemCode) QueryUser() *UserQuery { |