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.
Exists#ExtractConditions()
1 parent 2973267 commit bc6536eCopy full SHA for bc6536e
internal/filter/types.go
@@ -74,10 +74,6 @@ func (c *Chain) Eval(filterable Filterable) (bool, error) {
74
func (c *Chain) ExtractConditions() []*Condition {
75
var conditions []*Condition
76
for _, rule := range c.rules {
77
- if _, ok := rule.(*Exists); ok {
78
- continue
79
- }
80
-
81
conditions = append(conditions, rule.ExtractConditions()...)
82
}
83
@@ -197,7 +193,7 @@ type Exists struct {
197
193
198
194
199
195
func (e *Exists) ExtractConditions() []*Condition {
200
- panic("filter exists doesn't support extract conditions")
196
+ return nil
201
202
203
func NewExists(column string) *Exists {
0 commit comments