Previous Page
modSelectCountPages()

Solar_Sql_Model_Related_HasOne
modSelectEager()

Next Page
newSelect()

modSelectEager()

public void modSelectEager ( Solar_Sql_Select $select )

When the native model is doing a select and an eager-join is requested for this relation, this method modifies the select to add the eager join.

Parameters

  • (Solar_Sql_Select) $select: The SELECT to be modified.

Returns

  • (void) The SELECT is modified in place.

Description

When the native model is doing a select and an eager-join is requested for this relation, this method modifies the select to add the eager join.

Automatically adds the foreign columns to the select.