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

Method ClearServer

ent/node_update.go:484–487  ·  view source on GitHub ↗

ClearServer clears the value of the "server" field.

()

Source from the content-addressed store, hash-verified

482
483// ClearServer clears the value of the "server" field.
484func (nuo *NodeUpdateOne) ClearServer() *NodeUpdateOne {
485 nuo.mutation.ClearServer()
486 return nuo
487}
488
489// SetSlaveKey sets the "slave_key" field.
490func (nuo *NodeUpdateOne) SetSlaveKey(s string) *NodeUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearServerMethod · 0.45

Tested by

no test coverage detected