summaryrefslogtreecommitdiffstats
path: root/dbcontrollerfunctions.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-09-28 19:24:03 +0000
committerTed Trask <ttrask01@yahoo.com>2013-09-28 19:24:03 +0000
commit7166ee9f1fa84cebfbbe4d56d97fdc73cb6bb9e4 (patch)
tree5663b98fd761872ff12f3d5dd652e4dec59ee4ae /dbcontrollerfunctions.lua
parentfa0bd17a19e211fb331e5a0d6dd5398d2d3930f1 (diff)
downloadacf-db-7166ee9f1fa84cebfbbe4d56d97fdc73cb6bb9e4.tar.bz2
acf-db-7166ee9f1fa84cebfbbe4d56d97fdc73cb6bb9e4.tar.xz
Added listdatabases action and changed prototype for list_tables model function
Diffstat (limited to 'dbcontrollerfunctions.lua')
-rw-r--r--dbcontrollerfunctions.lua6
1 files changed, 5 insertions, 1 deletions
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)