We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03532e9 commit 19f80d8Copy full SHA for 19f80d8
pkg/filter/ql/expr.go
@@ -81,9 +81,8 @@ type NotExpr struct {
81
// String returns a string representation of the not expression.
82
func (e *NotExpr) String() string {
83
var b strings.Builder
84
- b.Grow(len(e.Expr.String()) + 2)
85
- b.WriteRune('(')
+ b.Grow(len(e.Expr.String()) + 4)
+ b.WriteString("NOT ")
86
b.WriteString(e.Expr.String())
87
- b.WriteRune(')')
88
return b.String()
89
}
0 commit comments