예제 #1
0
 public static function getTableList()
 {
     $qry = DB::driver() == DB::SQLITE ? "SELECT name FROM sqlite_master WHERE type='table'" : 'SHOW TABLES';
     return DBTable::factory(DB::DEF, $qry, null, DB::FETCH_NUM)->getColumn(0);
 }