This commit is contained in:
2020-03-12 14:22:06 +00:00
parent 80dc195673
commit 73662fab87
2 changed files with 10 additions and 3 deletions

View File

@@ -31,9 +31,12 @@ AUTOCOMPLETE
- has default view if not overriden that is generally good enough for anyone
- PickList Controller ROUTES
- GET PickList/List(AyaType, query)
- Uses cached view (fetches into cache if not fetched to keep cache small)
- Use best practice caching for this so can extend to other things that need caching like BizRoles
- Based on cached view constructs a query with relevant columns only and containing search query in each column
- Does NOT use cached view.
- after some research caches should only be used if:
- The data is very expensive in time to generate
- small, not likely to take up much memory
- There is a *lot* of fuckery involved with caches, basically it should not be used for anything I'm doing so far
- Based on saved template view constructs a query with relevant columns only and containing search query in each column
- Also handles tags properly
- PUT PickList/Template (body AyaType, body viewJson)
- Update a view to use a new default