PHP Трейт Bluz\Db\Query\Traits\From

Автор: Anton Shevchuk
Показать файл Открыть проект

Открытые методы

Метод Описание
from ( string $from, string $alias ) Set FROM

Описание методов

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 $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