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

Method SetUserID

ent/mutation.go:4970–4972  ·  view source on GitHub ↗

SetUserID sets the "user" edge to the User entity by id.

(id int)

Source from the content-addressed store, hash-verified

4968
4969// SetUserID sets the "user" edge to the User entity by id.
4970func (m *FsEventMutation) SetUserID(id int) {
4971 m.user = &id
4972}
4973
4974// ClearUser clears the "user" edge to the User entity.
4975func (m *FsEventMutation) ClearUser() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected