MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / Value

Method Value

tools/types/datetime.go:123–125  ·  view source on GitHub ↗

Value implements the [driver.Valuer] interface.

()

Source from the content-addressed store, hash-verified

121
122// Value implements the [driver.Valuer] interface.
123func (d DateTime) Value() (driver.Value, error) {
124 return d.String(), nil
125}
126
127// Scan implements [sql.Scanner] interface to scan the provided value
128// into the current DateTime instance.

Callers

nothing calls this directly

Calls 1

StringMethod · 0.95

Tested by

no test coverage detected