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

Method SetUser

ent/passkey_create.go:108–110  ·  view source on GitHub ↗

SetUser sets the "user" edge to the User entity.

(u *User)

Source from the content-addressed store, hash-verified

106
107// SetUser sets the "user" edge to the User entity.
108func (pc *PasskeyCreate) SetUser(u *User) *PasskeyCreate {
109 return pc.SetUserID(u.ID)
110}
111
112// Mutation returns the PasskeyMutation object of the builder.
113func (pc *PasskeyCreate) Mutation() *PasskeyMutation {

Callers

nothing calls this directly

Calls 1

SetUserIDMethod · 0.95

Tested by

no test coverage detected