MCPcopy
hub / github.com/pocketbase/pocketbase / Updated

Method Updated

core/otp_model.go:110–112  ·  view source on GitHub ↗

Updated returns the "updated" record field value.

()

Source from the content-addressed store, hash-verified

108
109// Updated returns the "updated" record field value.
110func (m *OTP) Updated() types.DateTime {
111 return m.GetDateTime("updated")
112}
113
114// HasExpired checks if the otp is expired, aka. whether it has been
115// more than maxElapsed time since its creation.

Callers 1

TestOTPUpdatedFunction · 0.95

Calls 1

GetDateTimeMethod · 0.80

Tested by 1

TestOTPUpdatedFunction · 0.76