src/Database/QueryBuilder.php
protected function public__select($fields = NULL)
    {
        $this->properties['query_type'] = self::QUERY_TYPE_SELECT;
        if ($fields == NULL) {
            return $this;
        }
        $this->properties['parameters'] = [];
        $this->properties['select'] = \is_array($fields) ? $fields : \func_get_args();
        return $this;
    }
protected function public__select($fields = NULL)
    {
        $this->properties['query_type'] = self::QUERY_TYPE_SELECT;
        if ($fields == NULL) {
            return $this;
        }
        $this->properties['parameters'] = [];
        $this->properties['select'] = \is_array($fields) ? $fields : \func_get_args();
        return $this;
    }
<code>
$qb = $conn->QueryBuilder()
->select('`u`.`id`', 'p.id', '*', 'COUNT(*) as c')
->from('`users`')
->execute();

$qb = $conn->QueryBuilder()
->select(
[
'`u`.`id`',
'p.id'
]
)
->from('users')
->execute();

</code>

@param mix $fields
@return \Database\QueryBuilder
@throws DatabaseException