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

Method SetReferenceCount

ent/entity_create.go:91–94  ·  view source on GitHub ↗

SetReferenceCount sets the "reference_count" field.

(i int)

Source from the content-addressed store, hash-verified

89
90// SetReferenceCount sets the "reference_count" field.
91func (ec *EntityCreate) SetReferenceCount(i int) *EntityCreate {
92 ec.mutation.SetReferenceCount(i)
93 return ec
94}
95
96// SetNillableReferenceCount sets the "reference_count" field if the given value is not nil.
97func (ec *EntityCreate) SetNillableReferenceCount(i *int) *EntityCreate {

Callers 2

defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected