This commit is contained in:
2020-03-13 21:48:25 +00:00
parent 73ccf1c359
commit 84dbf06991
2 changed files with 22 additions and 12 deletions

View File

@@ -5,6 +5,15 @@
## IMMEDIATE ITEMS
//PICKLISTS:
//TODO: build a sql List<AyaPickListFieldDefinition> columnDefinitionsselect and order by and a where clause that searches appropriately in each field (tags)
//it should return results based on the query where there is a single name (display) column and an id column for rowid
//and the fields should be combined in a standard way separated by spaces "Widget widgetserial username" for compactness
//WORKING QUERY
//select awidget.id AS rowid,awidget.active,awidget.name,awidget.serial,auser.name from awidget left outer join auser on (awidget.userid=auser.id)
//where awidget.active = true and ((awidget.name like '%some%') or (cast (awidget.serial as text) like '%some%') or (auser.name like '%some%') ) order by awidget.name,awidget.serial,auser.name limit 100
TODO: BizRoles.cs seems to get hammered on every single request, is it efficient?
- Why is it not cached in some way?