From 7166ee9f1fa84cebfbbe4d56d97fdc73cb6bb9e4 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Sat, 28 Sep 2013 19:24:03 +0000 Subject: Added listdatabases action and changed prototype for list_tables model function --- dbcontrollerfunctions.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dbcontrollerfunctions.lua') diff --git a/dbcontrollerfunctions.lua b/dbcontrollerfunctions.lua index 6d83bd4..73eb3f0 100644 --- a/dbcontrollerfunctions.lua +++ b/dbcontrollerfunctions.lua @@ -1,7 +1,11 @@ module(..., package.seeall) +function listdatabases(self) + return self.model.list_databases(self, self.clientdata) +end + function listtables(self) - return self.model.list_tables() + return self.model.list_tables(self, self.clientdata) end function viewtable(self) -- cgit v1.2.3