upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/91.md
diff options
context:
space:
mode:
authorfiatjaf_ <fiatjaf@gmail.com>2026-03-03 22:46:53 -0300
committerGitHub <noreply@github.com>2026-03-03 22:46:53 -0300
commitc0398b4ed1a98db08a8cd8506ff7218d7358cb08 (patch)
treee1380fc81e5961e8222709c4e9fcd2f176dca267 /91.md
parent7ec427190822b0c61446b678b37c86c98c9beea6 (diff)
Revert "NIP-91: AND operator for filters (Formerly NIP-119) (#1365)"revert-1365-nip/119
This reverts commit 7ec427190822b0c61446b678b37c86c98c9beea6.
Diffstat (limited to '91.md')
-rw-r--r--91.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/91.md b/91.md
deleted file mode 100644
index 7ac15ae..0000000
--- a/91.md
+++ /dev/null
@@ -1,18 +0,0 @@
1# NIP-91: AND Operator in Filters
2
3Enable `AND` within a single tag filter by using an `&` modifier in filters for indexable tags.
4
5```
6filters: {
7 "kinds": [1],
8 "&t": ["meme", "cat"],
9 "#t": ["black", "white"]
10}
11// returns kind `1` events with `t` tags that have both "meme" and "cat" that have the tag "black" or "white"
12```
13
14## Rules
15
16- `AND` **MUST** take precedence over `OR`
17- Tag values used in `AND` **SHOULD NOT** be used in standard `OR` tags [`#`]
18- Any tag value used in `AND` **SHOULD** be ignored in `OR`