Update ttcQuery

Emmaline Autumn 2024-06-11 00:58:37 -07:00
parent 64a58145dc
commit 1d904af6b7

@ -6,13 +6,17 @@ Start query: `?`
- by default, queries search the current publication - by default, queries search the current publication
- you can specify a publication by following this with the name, by default it will use the latest release of a publication - you can specify a publication by following this with the name, by default it will use the latest release of a publication
- you can specify the version by including it in a pair of square brackets - you can specify the version by including it in a pair of square brackets
Query current object: `^` Query current object: `^`
- refers specifically to the object based off of this specific type - refers specifically to the object based off of this specific type
Query relative object: `$` Query relative object: `$`
- refers to the last relative object in the hierarchy - refers to the last relative object in the hierarchy
Access child: `.` Access child: `.`
- this also maps over all items in a list and returns a list of the relevant children - this also maps over all items in a list and returns a list of the relevant children
- if the parent is a list, it will return a list of just the specified child - if the parent is a list, it will return a list of just the specified child
Select: `[]` Select: `[]`
- Selects any of the items that matches the provided selector - Selects any of the items that matches the provided selector
- Providing a number selects the ordinal item in the list - Providing a number selects the ordinal item in the list