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

Method ClearUser

ent/task_update.go:428–431  ·  view source on GitHub ↗

ClearUser clears the "user" edge to the User entity.

()

Source from the content-addressed store, hash-verified

426
427// ClearUser clears the "user" edge to the User entity.
428func (tuo *TaskUpdateOne) ClearUser() *TaskUpdateOne {
429 tuo.mutation.ClearUser()
430 return tuo
431}
432
433// Where appends a list predicates to the TaskUpdate builder.
434func (tuo *TaskUpdateOne) Where(ps ...predicate.Task) *TaskUpdateOne {

Callers

nothing calls this directly

Calls 1

ClearUserMethod · 0.45

Tested by

no test coverage detected