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

Function newStoragePolicyStep

ent/node/node.go:213–219  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211 }
212}
213func newStoragePolicyStep() *sqlgraph.Step {
214 return sqlgraph.NewStep(
215 sqlgraph.From(Table, FieldID),
216 sqlgraph.To(StoragePolicyInverseTable, FieldID),
217 sqlgraph.Edge(sqlgraph.O2M, false, StoragePolicyTable, StoragePolicyColumn),
218 )
219}

Callers 3

HasStoragePolicyWithFunction · 0.70
ByStoragePolicyCountFunction · 0.70
ByStoragePolicyFunction · 0.70

Calls 1

ToMethod · 0.65

Tested by

no test coverage detected