I want to get only one field data in my custom module collection. For ex:
getting following data in collection:
Array (  => Array ( [banner_id] => 1 [banner_title] => Banner 1 [banner_image] => banner_banner/4/_/4.jpg [banner_status] => 0 [banner_link] => http://google.com [banner_sortorder] => 1 ) )
getting this array in collection response. I need only one value in collection response banner_image. I don't want all the data in collection response. How can i do that?
Is there any method that allows me to fetch only that specific field data instead of loading entire collection?
I want following result only:
Array (  => Array ( [banner_image] => banner_banner/4/_/4.jpg ),  => Array ( [banner_image] => banner_banner/2/_/892.jpg ) )