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

Method SetUpdatedAt

ent/node_update.go:35–38  ·  view source on GitHub ↗

SetUpdatedAt sets the "updated_at" field.

(t time.Time)

Source from the content-addressed store, hash-verified

33
34// SetUpdatedAt sets the "updated_at" field.
35func (nu *NodeUpdate) SetUpdatedAt(t time.Time) *NodeUpdate {
36 nu.mutation.SetUpdatedAt(t)
37 return nu
38}
39
40// SetDeletedAt sets the "deleted_at" field.
41func (nu *NodeUpdate) SetDeletedAt(t time.Time) *NodeUpdate {

Callers 3

defaultsMethod · 0.45
SetUpdatedAtMethod · 0.45
defaultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected