Expand description
Visibility query strings.
The raw query is the interface. tmprl never holds a structured filter that it renders down to a string the user cannot see, every filter the interface offers compiles into this text, and the text stays editable. A lossy abstraction over the query is the thing that makes the web UI’s filter bar frustrating, and it is not worth reproducing.
So the only query manipulation here is what the RPCs actually require: adapting a
user-authored filter for CountWorkflowExecutions, which does not accept ORDER BY and
needs its own GROUP BY.
Functions§
- count_
query - Turn a user’s list query into the one that produces the header counts.