Solar_Sql_Model::fetchAssoc()

public Solar_Sql_Model_Collection Solar_Sql_Model::fetchAssoc ( array|Solar_Sql_Model_Params_Fetch $fetch = NULL )

The same as fetchAll(), except the record collection is keyed on the first column of the results (instead of being a strictly sequential array.)

Parameters

  • (array|Solar_Sql_Model_Params_Fetch) $fetch: Parameters for the fetch.

Returns

  • (Solar_Sql_Model_Collection) A collection object.

Description

The same as fetchAll(), except the record collection is keyed on the first column of the results (instead of being a strictly sequential array.)



Local