I very new in yii as we use pluck() in laravel to get specific column value in a array how can i do same in yii.I am expecting values in array it return as different objects
*********My query **********
$get_coupon_ids=Coupon_categories::find()->select(['coupon_id'])->where(['in', 'category',$category_id])->all();
*****************************
*********OutPut****************
[
{
"coupon_id": 13
},
{
"coupon_id": 14
},
{
"coupon_id": 15
}
]
***************************************
*******Expected value *************
[13,14,15]
*********************************