From ae0de60e69ffd51cda85ff70417cd354ee781c1c Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 29 Mar 2010 12:10:44 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fixed=20several=20issue=20for=20completion?= =?UTF-8?q?=20lists=20=E2=80=A2=20improved=20gathering=20and=20caching=20o?= =?UTF-8?q?f=20structure=20data=20coming=20from=20connection=20windows=20w?= =?UTF-8?q?ith=20the=20same=20connection=20=E2=80=A2=20made=20the=20struct?= =?UTF-8?q?ure=20querying=20more=20stable=20against=20threading=20issues?= =?UTF-8?q?=20=E2=80=A2=20moved=20getUniqueDbIdentifierFor=20from=20MCPCon?= =?UTF-8?q?nection=20to=20SPNavigatorController=20to=20be=20up-to-date=20i?= =?UTF-8?q?n=20all=20connection=20windows=20=E2=80=A2=20improved=20detecti?= =?UTF-8?q?on=20if=20db=20structure=20querying=20should=20be=20performed?= =?UTF-8?q?=20or=20not=20(not=20yet=20finished)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TableDocument.m | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Source/TableDocument.m') diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 2a95c158..936792b2 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -1092,6 +1092,16 @@ return [[SPNavigatorController sharedNavigatorController] schemaPathExistsForConnection:[self connectionID] andDatabase:dbname]; } +- (NSDictionary*)getDbStructure +{ + return [[SPNavigatorController sharedNavigatorController] dbStructureForConnection:[self connectionID]]; +} + +- (NSArray *)allSchemaKeys +{ + return [[SPNavigatorController sharedNavigatorController] allSchemaKeysForConnection:[self connectionID]]; +} + #pragma mark - #pragma mark Console methods -- cgit v1.2.3