src/Entity.php
public function getScheme(): array
    {
        if (null === $this->scheme) {
            $raw = $this->medoo->query('DESCRIBE '.$this->getTable())->fetchAll();
            $this->scheme = [];
            foreach ($raw as $field) {
                $this->scheme[$field['Field']] = $field;
            }
        }

        return $this->scheme;
    }
public function getScheme(): array
    {
        if (null === $this->scheme) {
            $raw = $this->medoo->query('DESCRIBE '.$this->getTable())->fetchAll();
            $this->scheme = [];
            foreach ($raw as $field) {
                $this->scheme[$field['Field']] = $field;
            }
        }

        return $this->scheme;
    }
Get entity scheme.

@return array