src/Koldy/Db/Query/Select.php
public function fetchAll(): array
    {
        if (!$this->wasExecuted()) {
            $this->exec();
        }

        return $this->getAdapter()->getStatement()->fetchAll(PDO::FETCH_ASSOC);
    }
public function fetchAll(): array
    {
        if (!$this->wasExecuted()) {
            $this->exec();
        }

        return $this->getAdapter()->getStatement()->fetchAll(PDO::FETCH_ASSOC);
    }
public function fetchAll ( ) : array { if ( ! $ this -> wasExecuted ( ) ) { $ this -> exec ( ) ; } return $ this -> getAdapter ( ) -> getStatement ( ) -> fetchAll ( PDO :: FETCH_ASSOC ) ; }
Fetch all records by this query
@return array
@throws Exception
@throws \Koldy\Exception
Fetch all records by this query