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 /Source/TableContent.h | |
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 'Source/TableContent.h')
-rw-r--r-- | Source/TableContent.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/TableContent.h b/Source/TableContent.h index a498189b..0993110a 100644 --- a/Source/TableContent.h +++ b/Source/TableContent.h @@ -129,4 +129,6 @@ - (void) storeCurrentDetailsForRestoration; - (void) clearDetailsToRestore; +- (NSString *)escapeFilterArgument:(NSString *)argument againstClause:(NSString *)clause; + @end |