Solar_Sql_Select::_prepareSubSelect()

protected string Solar_Sql_Select::_prepareSubSelect ( string|Solar_Sql_Select $spec )

Prepares a select statement for use as a sub-select; returns strings as they are, but converts Solar_Sql_Select objects to strings after merging bind values.

Parameters

  • (string|Solar_Sql_Select) $spec: The select to prepare as a sub-select.

Returns

  • (string)

Description

Prepares a select statement for use as a sub-select; returns strings as they are, but converts Solar_Sql_Select objects to strings after merging bind values.



Local