ImportCollections imports the provided collections data in a single transaction. For existing matching collections, the imported data is unmarshaled on top of the existing model. NB! If deleteMissing is true, ALL NON-SYSTEM COLLECTIONS AND SCHEMA FIELDS, that are not present in the imported config
(toImport []map[string]any, deleteMissing bool)
| 475 | // that are not present in the imported configuration, WILL BE DELETED |
| 476 | // (this includes their related records data). |
| 477 | ImportCollections(toImport []map[string]any, deleteMissing bool) error |
| 478 | |
| 479 | // ImportCollectionsByMarshaledJSON is the same as [ImportCollections] |
| 480 | // but accept marshaled json array as import data (usually used for the autogenerated snapshots). |
no outgoing calls