aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPCustomQuery.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-08-27 10:56:07 +0000
committerBibiko <bibiko@eva.mpg.de>2010-08-27 10:56:07 +0000
commitd0bc1e5c852eb5ccaf99d48d7c6fad82ece2bdf1 (patch)
tree8558bf14d2aef96b9f5fac1eb41e64e157538de7 /Source/SPCustomQuery.h
parent71d55a599ac4c19f88de9fede09d138bfc24b1b5 (diff)
downloadsequelpro-d0bc1e5c852eb5ccaf99d48d7c6fad82ece2bdf1.tar.gz
sequelpro-d0bc1e5c852eb5ccaf99d48d7c6fad82ece2bdf1.tar.bz2
sequelpro-d0bc1e5c852eb5ccaf99d48d7c6fad82ece2bdf1.zip
• further improvements for in cell editing in CustomQuery tables
- simplified code - reduced number of queries for edit status - WHERE argument to identify first try to avoid using blob data for speed, if field is not identified with ignoring blob data then use blob data as well • for TableContent fixed tooltip display - note: improvements as for CustomQuery follow soon
Diffstat (limited to 'Source/SPCustomQuery.h')
-rw-r--r--Source/SPCustomQuery.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/SPCustomQuery.h b/Source/SPCustomQuery.h
index 30e64ef5..e8710340 100644
--- a/Source/SPCustomQuery.h
+++ b/Source/SPCustomQuery.h
@@ -144,6 +144,7 @@
BOOL reloadingExistingResult;
BOOL queryIsTableSorter;
BOOL isDesc;
+ BOOL isFieldEditable;
NSNumber *sortField;
NSIndexSet *selectionIndexToRestore;
@@ -240,8 +241,8 @@
- (void)commentOut;
- (void)commentOutCurrentQueryTakingSelection:(BOOL)takeSelection;
- (NSString *)usedQuery;
-- (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn andDatabase:(NSString *)database;
-- (NSInteger)fieldEditStatusForRow:(NSInteger)rowIndex andColumn:(NSInteger)columnIndex;
+- (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn andDatabase:(NSString *)database includeBlobs:(BOOL)includeBlobs;
+- (NSArray*)fieldEditStatusForRow:(NSInteger)rowIndex andColumn:(NSInteger)columnIndex;
- (NSUInteger)numberOfQueries;
- (NSString *)buildHistoryString;