Closed andrewhampton closed 3 years ago
In our rails app, the query looks like this:
SELECT `users`.* FROM `users` WHERE `users`.`account_id` = 1 AND `users`.`id` = 1 LIMIT 1
This PR adds support for table names surrounded by backticks in addition to the current support for single and double quotes.
Slight tweak to the EXTRACT_TABLE_RXP regular expression.
EXTRACT_TABLE_RXP
Thanks!
What is the purpose of this pull request?
In our rails app, the query looks like this:
This PR adds support for table names surrounded by backticks in addition to the current support for single and double quotes.
What changes did you make? (overview)
Slight tweak to the
EXTRACT_TABLE_RXP
regular expression.Is there anything you'd like reviewers to focus on?
Checklist