1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-12 00:34:00 +00:00

Add new filter example

This commit is contained in:
Jermolene 2014-10-09 20:51:58 +01:00
parent 9cd420290b
commit a7c9112c40

View File

@ -1,5 +1,5 @@
created: 20140410101941871 created: 20140410101941871
modified: 20141008180223576 modified: 20141009180223576
tags: Learning tags: Learning
title: Introduction to Filters title: Introduction to Filters
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
@ -99,6 +99,12 @@ You can use multiple filter operations at once. This example selects all tiddler
Each separate operator is processed in turn, accumulating the tiddlers that they select. Each separate operator is processed in turn, accumulating the tiddlers that they select.
Here's an example that returns tiddlers tagged ''alpha'' or ''beta'' that are also tagged ''task'' and not tagged ''done'':
```
[tag[alpha]] [tag[beta]] +[tag[task]!tag[done]]
```
! ANDing Multiple Filter Operators ! ANDing Multiple Filter Operators
A sequence of operators can be logically ANDed together by bashing them together and merging the outer square brackets. This is called a "run" of operations. For example, here we select tiddlers that are tagged "introduction" and also tagged "demo": A sequence of operators can be logically ANDed together by bashing them together and merging the outer square brackets. This is called a "run" of operations. For example, here we select tiddlers that are tagged "introduction" and also tagged "demo":