Skip to content

Commit

Permalink
work on AND operator
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Nov 23, 2024
1 parent 4c54b7b commit 0906b7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jamesql/rewriter.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
grammar = """
start: (query)+ sort_component?
or_query: (query ("OR ") query)*
and_query: (query ("AND ") query)*
or_query: (query ("OR " | "or ") query)*
and_query: (query ("AND " | "and ") query)*
query: and_query | or_query | query_component
query_component: (negate_query | range_query | strict_search_query | word_query | field_query | comparison)+
Expand Down

0 comments on commit 0906b7c

Please sign in to comment.