Open Conal-Tuohy opened 9 months ago
Such subqueries would need to be integrated into the jQuery-QueryBuilder framework:
One option:
this
, perhaps named "Item" or "Entire record")e.g. this item
doesn't match
racing
Another option:
matching
and excluding
e.g. excluding
racing
There should be a button which a user can use to transclude a subquery (as a group) if they need to customize it specifically for its role in the main query
(from Martin Bush)
Sometimes query results are cluttered up with racing news; race results, racing form, etc, Horse names can be basically anything, and racing has always been big in Australia.
If you want to exclude racing content, It's possible to use negative queries to identify and exclude a lot of this stuff, but being able to express that "racing" query in a form that could be composed into a large query is potentially useful.
It suggests the need to be able to express sub-queries in a serializable form that can be named and saved, shared, etc, and integrated using a query-builder UI into a larger query by reference.
Queries could be persisted in users' browser local storage, or as cookies.