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

Method QueryNode

ent/storagepolicy.go:272–274  ·  view source on GitHub ↗

QueryNode queries the "node" edge of the StoragePolicy entity.

()

Source from the content-addressed store, hash-verified

270
271// QueryNode queries the "node" edge of the StoragePolicy entity.
272func (sp *StoragePolicy) QueryNode() *NodeQuery {
273 return NewStoragePolicyClient(sp.config).QueryNode(sp)
274}
275
276// Update returns a builder for updating this StoragePolicy.
277// Note that you need to call StoragePolicy.Unwrap() before calling this method if this StoragePolicy

Callers

nothing calls this directly

Calls 1

NewStoragePolicyClientFunction · 0.70

Tested by

no test coverage detected