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

Method SetDeletedAt

ent/node_update.go:408–411  ·  view source on GitHub ↗

SetDeletedAt sets the "deleted_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

406
407// SetDeletedAt sets the "deleted_at" field.
408func (nuo *NodeUpdateOne) SetDeletedAt(t time.Time) *NodeUpdateOne {
409 nuo.mutation.SetDeletedAt(t)
410 return nuo
411}
412
413// SetNillableDeletedAt sets the "deleted_at" field if the given value is not nil.
414func (nuo *NodeUpdateOne) SetNillableDeletedAt(t *time.Time) *NodeUpdateOne {

Callers 1

SetNillableDeletedAtMethod · 0.95

Calls 1

SetDeletedAtMethod · 0.45

Tested by

no test coverage detected