Skip to content

Commit

Permalink
chore: be case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
keithZmudzinski committed Sep 12, 2024
1 parent 95ed7bb commit 38029b5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def get_operation_name(self, statement):
def get_collection_name(statement):
collection_name = ""
match = re.search(
r"\b(?:FROM|JOIN|INTO|UPDATE|TABLE)\s+([\w`']+)", statement
r"(?i)\b(?:FROM|JOIN|INTO|UPDATE|TABLE)\s+([\w`']+)", statement
)
if match:
collection_name = match.group(1).strip("`'")
Expand Down

0 comments on commit 38029b5

Please sign in to comment.