Bluz\Db\Query\Traits\From::from
Set FROM
Create and add a query root corresponding to the table identified by the given alias, forming a cartesian product with any existing query roots <code> $sb = new SelectBuilder(); $sb ->select('u.id') ->from('users', 'u') </code>
Signature
public function from(string
$from,
string
$alias )
Parameters
$from
— string- The table
$alias
— string- The alias of the table
Returns
- $this