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

Method AddShareIDs

ent/user_create.go:213–216  ·  view source on GitHub ↗

AddShareIDs adds the "shares" edge to the Share entity by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

211
212// AddShareIDs adds the "shares" edge to the Share entity by IDs.
213func (uc *UserCreate) AddShareIDs(ids ...int) *UserCreate {
214 uc.mutation.AddShareIDs(ids...)
215 return uc
216}
217
218// AddShares adds the "shares" edges to the Share entity.
219func (uc *UserCreate) AddShares(s ...*Share) *UserCreate {

Callers 1

AddSharesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected