MCPcopy
hub / github.com/pocketbase/pocketbase / DBExport

Method DBExport

core/db.go:36–36  ·  view source on GitHub ↗

DBExport returns a key-value map with the data to be used when saving the struct in the database.

(app App)

Source from the content-addressed store, hash-verified

34type DBExporter interface {
35 // DBExport returns a key-value map with the data to be used when saving the struct in the database.
36 DBExport(app App) (map[string]any, error)
37}
38
39// PreValidator defines an optional model interface for registering a

Callers 5

createMethod · 0.65
updateMethod · 0.65
recordCreateFunction · 0.65
initFunction · 0.65

Implementers 1

Recordcore/record_model.go

Calls

no outgoing calls

Tested by 1