Cml\Db\MySql\Pdo::getAllTableStatus PHP Method

getAllTableStatus() public method

获取当前数据库中所有表的信息
public getAllTableStatus ( ) : array
return array
    public function getAllTableStatus()
    {
        $stmt = $this->prepare('SHOW TABLE STATUS FROM ' . $this->conf['master']['dbname'], $this->rlink);
        $this->execute($stmt);
        $res = $stmt->fetchAll(\PDO::FETCH_ASSOC);
        $return = [];
        foreach ($res as $val) {
            $return[$val['Name']] = $val;
        }
        return $return;
    }