Solar_Sql_Model::fetchValue()
public
mixed
Solar_Sql_Model::fetchValue
( array|Solar_Sql_Model_Params_Fetch $fetch = NULL
)
Fetches a single value from the model (i.e., the first column of the first record of the returned page set).
Parameters
(array|Solar_Sql_Model_Params_Fetch)
$fetch
: Parameters for the fetch.
Returns
(mixed) The single value from the model query, or null.
Description
Fetches a single value from the model (i.e., the first column of the first record of the returned page set).