Skip to content

Commit

Permalink
server: sqlafilter allow numbers in COLSPEC (table and column names)
Browse files Browse the repository at this point in the history
  • Loading branch information
bodik committed Nov 16, 2023
1 parent 3af91bd commit 1dcc0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sner/server/sqlafilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
_factor: criteria | "(" expression ")"
criteria: COLSPEC OP _value
COLSPEC: /[a-z]+\.[a-z_]+/i
COLSPEC: /[a-z0-9]+\.[a-z0-9_]+/i
OP: "==" | "!=" | ">=" | "<=" | ">" | "<"
| "ilike" | "not_ilike" | "astext_ilike" | "astext_not_ilike"
| "is_null" | "is_not_null"
Expand Down

0 comments on commit 1dcc0a0

Please sign in to comment.