MCPcopy
hub / github.com/Wei-Shaw/sub2api / GetValue

Method GetValue

backend/ent/redeemcode.go:197–199  ·  view source on GitHub ↗

GetValue returns the ent.Value that was dynamically selected and assigned to the RedeemCode. This includes values selected through modifiers, order, etc.

(name string)

Source from the content-addressed store, hash-verified

195// GetValue returns the ent.Value that was dynamically selected and assigned to the RedeemCode.
196// This includes values selected through modifiers, order, etc.
197func (_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.
202func (_m *RedeemCode) QueryUser() *UserQuery {

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected