diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-08-27 12:59:30 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-08-27 12:59:30 +0000 |
commit | 8d0ac341f8927040dfd152504dbb1aae93bc16cd (patch) | |
tree | 2db780aeebc129e1c4c65a42005f7144162bc7a4 /Source/SPTableContent.h | |
parent | d0bc1e5c852eb5ccaf99d48d7c6fad82ece2bdf1 (diff) | |
download | sequelpro-8d0ac341f8927040dfd152504dbb1aae93bc16cd.tar.gz sequelpro-8d0ac341f8927040dfd152504dbb1aae93bc16cd.tar.bz2 sequelpro-8d0ac341f8927040dfd152504dbb1aae93bc16cd.zip |
• further improvements for in cell editing of view data in TableContent 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
Diffstat (limited to 'Source/SPTableContent.h')
-rw-r--r-- | Source/SPTableContent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableContent.h b/Source/SPTableContent.h index 506c01d0..b82eb7c3 100644 --- a/Source/SPTableContent.h +++ b/Source/SPTableContent.h @@ -159,7 +159,7 @@ - (void)processResultIntoDataStorage:(MCPStreamingResult *)theResult approximateRowCount:(NSUInteger)targetRowCount; - (BOOL)addRowToDB; - (NSString *)argumentForRow:(NSInteger)row; -- (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn andDatabase:(NSString *)database; +- (NSString *)argumentForRow:(NSUInteger)rowIndex ofTable:(NSString *)tableForColumn andDatabase:(NSString *)database includeBlobs:(BOOL)includeBlobs; - (BOOL)tableContainsBlobOrTextColumns; - (NSString *)fieldListForQuery; - (void)updateNumberOfRows; @@ -188,6 +188,6 @@ - (void)openContentFilterManager; - (void)makeContentFilterHaveFocus; -- (NSInteger)fieldEditStatusForRow:(NSInteger)rowIndex andColumn:(NSInteger)columnIndex; +- (NSArray*)fieldEditStatusForRow:(NSInteger)rowIndex andColumn:(NSInteger)columnIndex; @end |