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

Method SetStatus

ent/user_create.go:104–107  ·  view source on GitHub ↗

SetStatus sets the "status" field.

(u user.Status)

Source from the content-addressed store, hash-verified

102
103// SetStatus sets the "status" field.
104func (uc *UserCreate) SetStatus(u user.Status) *UserCreate {
105 uc.mutation.SetStatus(u)
106 return uc
107}
108
109// SetNillableStatus sets the "status" field if the given value is not nil.
110func (uc *UserCreate) SetNillableStatus(u *user.Status) *UserCreate {

Callers 1

SetNillableStatusMethod · 0.95

Calls 1

SetStatusMethod · 0.65

Tested by

no test coverage detected