Solar_Sql_Select::from()
public
Solar_Sql_Select
Solar_Sql_Select::from
( string|object $spec
, array|string $cols = NULL
)
Adds a FROM table and columns to the query.
Parameters
(string|object)
$spec
: If a Solar_Sql_Model object, the table to select from; if a string, the table name to select from.(array|string)
$cols
: The columns to select from this table.
Returns
(Solar_Sql_Select)
Description
Adds a FROM table and columns to the query.