src/Valkyrja/ORM/QueryBuilder/NativeQueryBuilder.php
public function select(array $columns = null): QueryBuilder
    {
        $this->type = Statement::SELECT;

        if (null !== $columns) {
            $this->columns = $columns;
        } else {
            $this->columns[] = '*';
        }

        return $this;
    }
public function select(array $columns = null): QueryBuilder
    {
        $this->type = Statement::SELECT;

        if (null !== $columns) {
            $this->columns = $columns;
        } else {
            $this->columns[] = '*';
        }

        return $this;
    }
Create a SELECT query statement.

<code>
$queryBuilder->select();
$queryBuilder->select(
[
'column1',
'column2',
...
]
);
</code>

@param array|null $columns

@return static