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

Method QueryUser

ent/entity.go:226–228  ·  view source on GitHub ↗

QueryUser queries the "user" edge of the Entity entity.

()

Source from the content-addressed store, hash-verified

224
225// QueryUser queries the "user" edge of the Entity entity.
226func (e *Entity) QueryUser() *UserQuery {
227 return NewEntityClient(e.config).QueryUser(e)
228}
229
230// QueryStoragePolicy queries the "storage_policy" edge of the Entity entity.
231func (e *Entity) QueryStoragePolicy() *StoragePolicyQuery {

Callers

nothing calls this directly

Calls 1

NewEntityClientFunction · 0.85

Tested by

no test coverage detected