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

Method AddDavAccountIDs

ent/user_create.go:198–201  ·  view source on GitHub ↗

AddDavAccountIDs adds the "dav_accounts" edge to the DavAccount entity by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

196
197// AddDavAccountIDs adds the "dav_accounts" edge to the DavAccount entity by IDs.
198func (uc *UserCreate) AddDavAccountIDs(ids ...int) *UserCreate {
199 uc.mutation.AddDavAccountIDs(ids...)
200 return uc
201}
202
203// AddDavAccounts adds the "dav_accounts" edges to the DavAccount entity.
204func (uc *UserCreate) AddDavAccounts(d ...*DavAccount) *UserCreate {

Callers 1

AddDavAccountsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected