Previous Page
fetchValue()

Solar_Sql_Select
from()

Next Page
fromSelect()

from()

public Solar_Sql_Select from ( string|object $spec, array|string $cols default 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.