diff options
author | Bibiko <bibiko@eva.mpg.de> | 2010-03-29 13:17:12 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2010-03-29 13:17:12 +0000 |
commit | e9220681f3ad83c507ffd075844eab702f08405b (patch) | |
tree | dc929a3eec53a5d1acac91a2dc423d57b111ce8c /Source/SPNavigatorController.h | |
parent | ae0de60e69ffd51cda85ff70417cd354ee781c1c (diff) | |
download | sequelpro-e9220681f3ad83c507ffd075844eab702f08405b.tar.gz sequelpro-e9220681f3ad83c507ffd075844eab702f08405b.tar.bz2 sequelpro-e9220681f3ad83c507ffd075844eab702f08405b.zip |
• improved completion suggestion for db schemata
- if user typed "foo." and there's an unique schema path regardless cases (like there's an item Foo) show the content of the path Foo
- now getUniqueDbIdentifierFor:term returns an array of found type (db or table) and the found string to handle case better for completion
• tried to speed up the search in the navigator by using a NSPredicate
• [MCPConennection allKeysofDbStructure]
- fixed issue while returning if allKeysofDbStructure == nil
Diffstat (limited to 'Source/SPNavigatorController.h')
-rw-r--r-- | Source/SPNavigatorController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPNavigatorController.h b/Source/SPNavigatorController.h index 4affe9ef..e92d5d26 100644 --- a/Source/SPNavigatorController.h +++ b/Source/SPNavigatorController.h @@ -72,7 +72,7 @@ - (NSDictionary *)dbStructureForConnection:(NSString*)connectionID; - (NSArray *)allSchemaKeysForConnection:(NSString*)connectionID; -- (NSInteger)getUniqueDbIdentifierFor:(NSString*)term andConnection:(NSString*)connectionID; +- (NSArray *)getUniqueDbIdentifierFor:(NSString*)term andConnection:(NSString*)connectionID; - (BOOL)isUpdatingConnection:(NSString*)connectionID; |