MCPcopy Create free account
hub / github.com/an0nfunc/ALHP / SetNillableUpdated

Method SetNillableUpdated

ent/dbpackage_update.go:781–786  ·  view source on GitHub ↗

SetNillableUpdated sets the "updated" field if the given value is not nil.

(v *time.Time)

Source from the content-addressed store, hash-verified

779 if v != nil {
780 _u.SetSkipReason(*v)
781 }
782 return _u
783}
784
785// ClearSkipReason clears the value of the "skip_reason" field.
786func (_u *DBPackageUpdateOne) ClearSkipReason() *DBPackageUpdateOne {
787 _u.mutation.ClearSkipReason()
788 return _u
789}

Callers

nothing calls this directly

Calls 1

SetUpdatedMethod · 0.95

Tested by

no test coverage detected