From 0612652448f32e620a96e923a44b463fa1b9e0dc Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 14 Jul 2009 19:34:40 +0000 Subject: =?UTF-8?q?=E2=80=A2=20fix=20for=20completion=20in=20CustomQuery?= =?UTF-8?q?=20editor=20-=20now=20the=20gathering=20of=20suggestions=20does?= =?UTF-8?q?=20not=20query=20the=20MySQL=20connection,=20instead=20it=20use?= =?UTF-8?q?s=20the=20TableList/TableDocument=20tableView=20data=20as=20a?= =?UTF-8?q?=20kind=20of=20cache=20-=20this=20approach=20should=20improve?= =?UTF-8?q?=20the=20speed=20for=20slow=20server=20connections?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TODO: auto-update for TableList and Database List resp. (it could happen that an other user changed the name of a table/db meanwhile) --- Source/TablesList.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/TablesList.h') diff --git a/Source/TablesList.h b/Source/TablesList.h index 8a13e487..965f00be 100644 --- a/Source/TablesList.h +++ b/Source/TablesList.h @@ -110,6 +110,12 @@ enum sp_table_types - (int)tableType; - (NSArray *)tables; - (NSArray *)tableTypes; +- (NSArray *)allTableAndViewNames; +- (NSArray *)allTableNames; +- (NSArray *)allViewNames; +- (NSArray *)allFunctionNames; +- (NSArray *)allProcedureNames; +- (NSArray *)allDatabaseNames; - (BOOL)structureLoaded; - (BOOL)contentLoaded; - (BOOL)statusLoaded; -- cgit v1.2.3