修改提取表格方式
This commit is contained in:
parent
50d4af4106
commit
6bd999c839
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue