Solar_Sql_Model_Related::_getNativeByWherein()

protected array Solar_Sql_Model_Related::_getNativeByWherein ( Solar_Sql_Model_Params_Eager $eager , array $array , string $col )

Returns an array of WHERE conditions for selecting only certain native values from the foreign table using "WHERE IN (...)".

Parameters

  • (Solar_Sql_Model_Params_Eager) $eager: The eager params.

  • (array) $array: The array of native results.

  • (string) $col: The foreign column to use for the "WHERE IN (...)".

Returns

  • (array) An array of WHERE conditions.

Description

Returns an array of WHERE conditions for selecting only certain native values from the foreign table using "WHERE IN (...)".



Local