Skip to content

Commit

Permalink
Merge branch 'main' of github.com:genjidb/genji
Browse files Browse the repository at this point in the history
  • Loading branch information
asdine committed Aug 6, 2021
2 parents 1654f35 + eb48596 commit 076bbac
Show file tree
Hide file tree
Showing 4 changed files with 560 additions and 469 deletions.
10 changes: 0 additions & 10 deletions internal/expr/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ type Operator interface {
Token() scanner.Token
}

// OperatorIsIndexCompatible returns whether the operator can be used to read from an index.
func OperatorIsIndexCompatible(op Operator) bool {
switch op.Token() {
case scanner.EQ, scanner.GT, scanner.GTE, scanner.LT, scanner.LTE, scanner.IN:
return true
}

return false
}

type ConcatOperator struct {
*simpleOperator
}
Expand Down
Loading

0 comments on commit 076bbac

Please sign in to comment.