src/Mysqli.php
public function fieldStatus($field)
    {

        $fieldArray = stripos($field, ',') !== false ? explode(',', $field) : (array) $field;

        $this->_sql = "SHOW TABLE STATUS WHERE NAME = '{$this->table}'";
        $result     = $this->query();

        $this->total = mysqli_num_rows($result);
        if ($this->total == 0) {return false;}

        while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
            $dataRow = $row;
        }

        if ($fieldArray) {
            foreach ($fieldArray as $key => $value) {
                if (isset($dataRow[$value])) {
                    $data[$value] = $dataRow[$value];
                }
            }
        } else {
            $data = $dataRow;
        }

        return $data;
    }
public function fieldStatus($field)
    {

        $fieldArray = stripos($field, ',') !== false ? explode(',', $field) : (array) $field;

        $this->_sql = "SHOW TABLE STATUS WHERE NAME = '{$this->table}'";
        $result     = $this->query();

        $this->total = mysqli_num_rows($result);
        if ($this->total == 0) {return false;}

        while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
            $dataRow = $row;
        }

        if ($fieldArray) {
            foreach ($fieldArray as $key => $value) {
                if (isset($dataRow[$value])) {
                    $data[$value] = $dataRow[$value];
                }
            }
        } else {
            $data = $dataRow;
        }

        return $data;
    }
查询数据表信息