MCPcopy
hub / github.com/pocketbase/pocketbase / String

Method String

core/collection_model.go:592–595  ·  view source on GitHub ↗

String returns a string representation of the current collection.

()

Source from the content-addressed store, hash-verified

590
591// String returns a string representation of the current collection.
592func (m Collection) String() string {
593 raw, _ := json.Marshal(m)
594 return string(raw)
595}
596
597// DBExport prepares and exports the current collection data for db persistence.
598func (m *Collection) DBExport(app App) (map[string]any, error) {

Callers 1

AddIndexMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected