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

Method QueryStoragePolicy

ent/entity.go:231–233  ·  view source on GitHub ↗

QueryStoragePolicy queries the "storage_policy" edge of the Entity entity.

()

Source from the content-addressed store, hash-verified

229
230// QueryStoragePolicy queries the "storage_policy" edge of the Entity entity.
231func (e *Entity) QueryStoragePolicy() *StoragePolicyQuery {
232 return NewEntityClient(e.config).QueryStoragePolicy(e)
233}
234
235// Update returns a builder for updating this Entity.
236// Note that you need to call Entity.Unwrap() before calling this method if this Entity

Callers

nothing calls this directly

Calls 1

NewEntityClientFunction · 0.85

Tested by

no test coverage detected