case sqlparser.BetweenStr:
return elastic.NewRangeQuery(colName).Gte(from).Lte(to), nil
return newBoolQuery().MustNot(elastic.NewRangeQuery(colName).Gte(from).Lte(to)), nil
default:
// This should be impossible since the query parser only calls this function with one of those