Skip to content

Commit 5c4e0ed

Browse files
committed
Quote SQL values in --regex code
Adds `esc_sql_value()` method that tries to make an educated guess about whether the value should be quoted or not. Uses a list of reserved keywords from the Drupal project found here: https://www.drupal.org/docs/develop/coding-standards/list-of-sql-reserved-words Fixes #58
1 parent 439483d commit 5c4e0ed

File tree

2 files changed

+895
-1
lines changed

2 files changed

+895
-1
lines changed

0 commit comments

Comments
 (0)