[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The following simple query:
query-pr --expr 'Category~"rats" & State~"analyzed" & Responsible~"fred"' |
yields all PRs in the database which contain the field values:
>Category: rats and >Responsible: fred and >State: analyzed |
The following query:
query-pr --expr 'State~"open|analyzed"' |
yields all PRs in the database whose State
values match either
‘open’ or ‘analyzed’ (see section Querying using regular expressions. This search is useful as a daily report that lists all
Problem Reports which require attention.
The following query:
query-pr --expr 'fieldtype:Text="The quick.*brown fox"' |
yields all PRs whose TEXT fields contain the text ‘The quick’ followed by ‘brown fox’ within the same field. See section Querying using regular expressions, which also contains further useful examples of query expressions.
This document was generated by Chad Walstrom on March 3, 2015 using texi2html 1.82.