package core type NotCondition struct { Cond Condition } func Not(cond Condition) Condition { return NotCondition{Cond: cond} } func (c NotCondition) Fields() []string { return c.Cond.Fields() } func (c NotCondition) Match(row []byte, table *Table) bool { return !c.Cond.Match(row, table) }