MCPcopy
hub / github.com/pocketbase/pocketbase / IntegrityChecks

Method IntegrityChecks

core/collection_model.go:490–492  ·  view source on GitHub ↗

IntegrityChecks toggles the current collection integrity checks (ex. checking references on delete).

(enable bool)

Source from the content-addressed store, hash-verified

488
489// IntegrityChecks toggles the current collection integrity checks (ex. checking references on delete).
490func (m *Collection) IntegrityChecks(enable bool) {
491 m.disableIntegrityChecks = !enable
492}
493
494// PostScan implements the [dbx.PostScanner] interface to auto unmarshal
495// the raw serialized options into the concrete type specific fields.

Callers 2

TestCollectionDeleteFunction · 0.95
ImportCollectionsMethod · 0.95

Calls

no outgoing calls

Tested by 1

TestCollectionDeleteFunction · 0.76