Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Bluz
Db
Query
Traits
From
PHP Trait Bluz\Db\Query\Traits\From
Author:
Anton Shevchuk
Datei anzeigen
Open project: bluzphp/framework
Public Methods
Method
Description
from
(
string
$from
,
string
$alias
)
Set FROM
Method Details
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