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

Method SetType

ent/task_update.go:330–333  ·  view source on GitHub ↗

SetType sets the "type" field.

(s string)

Source from the content-addressed store, hash-verified

328
329// SetType sets the "type" field.
330func (tuo *TaskUpdateOne) SetType(s string) *TaskUpdateOne {
331 tuo.mutation.SetType(s)
332 return tuo
333}
334
335// SetNillableType sets the "type" field if the given value is not nil.
336func (tuo *TaskUpdateOne) SetNillableType(s *string) *TaskUpdateOne {

Callers 1

SetNillableTypeMethod · 0.95

Calls 1

SetTypeMethod · 0.45

Tested by

no test coverage detected