I want to have a query list of all my pages, but I don’t want the ones in Library/
to show up. How can I do this?
You can do this:
```query
page where name !=~ /^Library\//
```
The !=~
performs a negative regex, so everything that does not match a name starting with Library.
Bonus solution for those running Edge and prefer to use Lua:
${query[[from index.tag "page" where not name:startsWith("Library/")]]}
1 Like
Thank you