Blast\Orm\Query::select PHP Method

select() public method

Replaces any previously specified selections, if any. $qb = $conn->createQueryBuilder() ->select('u.id', 'p.id') ->from('users', 'u') ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id');
public select ( array $select = [] )
$select array The selection expressions.
    public function select(array $select = [])
    {
        if (count($select) < 1) {
            $select = ['*'];
        }
        return $this->__call(__FUNCTION__, [$select]);
    }