IntegrityChecks toggles the current collection integrity checks (ex. checking references on delete).
(enable bool)
| 488 | |
| 489 | // IntegrityChecks toggles the current collection integrity checks (ex. checking references on delete). |
| 490 | func (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. |
no outgoing calls