MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / ClearSettings

Method ClearSettings

ent/node_update.go:522–525  ·  view source on GitHub ↗

ClearSettings clears the value of the "settings" field.

()

Source from the content-addressed store, hash-verified

520
521// ClearSettings clears the value of the "settings" field.
522func (nuo *NodeUpdateOne) ClearSettings() *NodeUpdateOne {
523 nuo.mutation.ClearSettings()
524 return nuo
525}
526
527// SetWeight sets the "weight" field.
528func (nuo *NodeUpdateOne) SetWeight(i int) *NodeUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearSettingsMethod · 0.45

Tested by

no test coverage detected