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

Method AddPasskeyIDs

ent/user_create.go:228–231  ·  view source on GitHub ↗

AddPasskeyIDs adds the "passkey" edge to the Passkey entity by IDs.

(ids ...int)

Source from the content-addressed store, hash-verified

226
227// AddPasskeyIDs adds the "passkey" edge to the Passkey entity by IDs.
228func (uc *UserCreate) AddPasskeyIDs(ids ...int) *UserCreate {
229 uc.mutation.AddPasskeyIDs(ids...)
230 return uc
231}
232
233// AddPasskey adds the "passkey" edges to the Passkey entity.
234func (uc *UserCreate) AddPasskey(p ...*Passkey) *UserCreate {

Callers 1

AddPasskeyMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected