diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-09-28 13:58:30 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-09-28 13:58:30 +0000 |
commit | e924e2ece4512233fa5ad020fecce25307c715a2 (patch) | |
tree | 7152b56905c8d8da3d09105aa93938793a5e4b29 /Resources | |
parent | 020cfd249c9022a2b84ae64786cdcbed42102217 (diff) | |
download | sequelpro-e924e2ece4512233fa5ad020fecce25307c715a2.tar.gz sequelpro-e924e2ece4512233fa5ad020fecce25307c715a2.tar.bz2 sequelpro-e924e2ece4512233fa5ad020fecce25307c715a2.zip |
• improved and fixes escaping of filter arguments
- 'is (not)' and 'contains (not)' are now defined as: take the argument literally, ie % and _ will be escaped automatically
- in string fields one can look for \n , \r , \t
- added LIKE and NOT LIKE operators to strings to be more transparent
- a routine detects automatically whether a placeholder was wrapped into ' or " and if so ' or " will be escaped
Diffstat (limited to 'Resources')
-rw-r--r-- | Resources/English.lproj/ContentFilters.plist | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/Resources/English.lproj/ContentFilters.plist b/Resources/English.lproj/ContentFilters.plist index 2f52c6af..7ee9e8b1 100644 --- a/Resources/English.lproj/ContentFilters.plist +++ b/Resources/English.lproj/ContentFilters.plist @@ -101,7 +101,7 @@ <array> <dict> <key>MenuLabel</key> - <string>IS</string> + <string>is</string> <key>NumberOfArguments</key> <integer>1</integer> <key>Clause</key> @@ -109,7 +109,7 @@ </dict> <dict> <key>MenuLabel</key> - <string>IS NOT</string> + <string>is not</string> <key>NumberOfArguments</key> <integer>1</integer> <key>Clause</key> @@ -133,6 +133,22 @@ </dict> <dict> <key>MenuLabel</key> + <string>LIKE</string> + <key>NumberOfArguments</key> + <integer>1</integer> + <key>Clause</key> + <string>LIKE '${}'</string> + </dict> + <dict> + <key>MenuLabel</key> + <string>NOT LIKE</string> + <key>NumberOfArguments</key> + <integer>1</integer> + <key>Clause</key> + <string>NOT LIKE '${}'</string> + </dict> + <dict> + <key>MenuLabel</key> <string>IN</string> <key>NumberOfArguments</key> <integer>1</integer> @@ -190,7 +206,7 @@ <array> <dict> <key>MenuLabel</key> - <string>IS</string> + <string>is</string> <key>NumberOfArguments</key> <integer>1</integer> <key>Clause</key> @@ -198,7 +214,7 @@ </dict> <dict> <key>MenuLabel</key> - <string>IS NOT</string> + <string>is not</string> <key>NumberOfArguments</key> <integer>1</integer> <key>Clause</key> |