FindCachedCollectionByNameOrId is similar to [App.FindCollectionByNameOrId] but retrieves the Collection from the app cache instead of making a db call. NB! This method is suitable for read-only Collection operations. Returns [sql.ErrNoRows] if no Collection is found for consistency with the [App.
(nameOrId string)
| 423 | // - The cache is automatically updated on collections db change (create/update/delete). |
| 424 | // To manually reload the cache you can call [App.ReloadCachedCollections] |
| 425 | FindCachedCollectionByNameOrId(nameOrId string) (*Collection, error) |
| 426 | |
| 427 | // FindCollectionReferences returns information for all relation |
| 428 | // fields referencing the provided collection. |
no outgoing calls