|
Previous Page |
Solar_Sql_Model_Related |
Next Page |
newSelect()
public
Solar_Sql_Select
newSelect (
mixed $spec
)
Creates a new selection object for records on this relationship.
Parameters
- (mixed)
$spec: If an array, treated as params for a select statement (where, group, having, etc) for finding the native-model IDs. If a Record object, the record's primary-key is used for the native- model ID.
Returns
- (Solar_Sql_Select)
Description
Creates a new selection object for records on this relationship.