MCPcopy
hub / github.com/pocketbase/pocketbase / Value

Method Value

core/fields_list.go:362–366  ·  view source on GitHub ↗

Value implements the [driver.Valuer] interface.

()

Source from the content-addressed store, hash-verified

360
361// Value implements the [driver.Valuer] interface.
362func (l FieldsList) Value() (driver.Value, error) {
363 data, err := json.Marshal(l)
364
365 return string(data), err
366}
367
368// Scan implements [sql.Scanner] interface to scan the provided value
369// into the current FieldsList instance.

Callers 5

TestRecordModelEventSyncFunction · 0.45
TestValidateWithContextFunction · 0.45
normalizeExceptionFunction · 0.45

Calls

no outgoing calls

Tested by 4

TestRecordModelEventSyncFunction · 0.36
TestValidateWithContextFunction · 0.36