Bluz\Db\Query\Traits\From::from PHP Method

from() public method

Create and add a query root corresponding to the table identified by the given alias, forming a cartesian product with any existing query roots $sb = new SelectBuilder(); $sb ->select('u.id') ->from('users', 'u')
public from ( string $from, string $alias )
$from string The table
$alias string The alias of the table
    public function from($from, $alias)
    {
        $this->aliases[] = $alias;
        return $this->addQueryPart('from', ['table' => $from, 'alias' => $alias], true);
    }
From