修改提取表格方式

This commit is contained in:
wlx 2015-01-16 13:38:13 +00:00
parent 50d4af4106
commit 6bd999c839
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class DataTableControl extends Database{
public function readTables()
{
$sql = "SELECT tablename FROM pg_tables WHERE tablename LIKE 'data_%' ORDER BY tablename ";
$sql = "SELECT schemaname||'.'||tablename as tablename FROM pg_tables WHERE owner='gis' ORDER BY tablename ";
$rs = $this->db->query($sql);
$row = $rs->fetchAll(\PDO::FETCH_COLUMN);