FindCachedCollectionReferences is similar to [App.FindCollectionReferences] but retrieves the Collection from the app cache instead of making a db call. NB! This method is suitable for read-only Collection operations. If you plan making changes to the returned Collection model, use [App.FindCollec
(collection *Collection, excludeIds ...string)
| 450 | // - The cache is automatically updated on collections db change (create/update/delete). |
| 451 | // To manually reload the cache you can call [App.ReloadCachedCollections]. |
| 452 | FindCachedCollectionReferences(collection *Collection, excludeIds ...string) (map[*Collection][]Field, error) |
| 453 | |
| 454 | // IsCollectionNameUnique checks that there is no existing collection |
| 455 | // with the provided name (case insensitive!). |
no outgoing calls