all repos — honk @ d11d97992fc8a562e0678059b2c2cb97075136f0

my fork of honk

negate operator for more queries
Ted Unangst tedu@tedunangst.com
Mon, 28 Aug 2023 17:41:56 -0400
commit

d11d97992fc8a562e0678059b2c2cb97075136f0

parent

107e562e81f31ed6fbfbacb9dcd9fb597b749696

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M database.godatabase.go

@@ -307,11 +307,11 @@ if t == "" {

continue } if t == "@me" { - queries = append(queries, "whofore = 1") + queries = append(queries, negate+"whofore = 1") continue } if t == "@self" { - queries = append(queries, "(whofore = 2 or whofore = 3)") + queries = append(queries, negate+"(whofore = 2 or whofore = 3)") continue } if strings.HasPrefix(t, "before:") {