MCPcopy
hub / github.com/crowdsecurity/crowdsec / Value

Method Value

pkg/database/ent/lock.go:80–82  ·  view source on GitHub ↗

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

(name string)

Source from the content-addressed store, hash-verified

78// Value returns the ent.Value that was dynamically selected and assigned to the Lock.
79// This includes values selected through modifiers, order, etc.
80func (_m *Lock) Value(name string) (ent.Value, error) {
81 return _m.selectValues.Get(name)
82}
83
84// Update returns a builder for updating this Lock.
85// Note that you need to call Lock.Unwrap() before calling this method if this Lock

Callers 15

checkMethod · 0.45
createSpecMethod · 0.45
UpdateNewValuesMethod · 0.45
UpdateNewValuesMethod · 0.45
FromContextFunction · 0.45
TxFromContextFunction · 0.45
sqlSaveMethod · 0.45
sqlSaveMethod · 0.45
checkMethod · 0.45
createSpecMethod · 0.45
UpdateNewValuesMethod · 0.45
UpdateNewValuesMethod · 0.45

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected