$wamResult = WpAdsupplierMerchant::where('cate_id',$cateId)->field('merchant_id')->select();//All store ids
Hello, I would like to The IDs of all collections are stored in a variable, for example: $ids = [12,21,23,32,11];
Now the result of $wamResult is:
[data: protected] => Array
(
[merchant_id] => 345
)
[origin:protected] => Array
(
[merchant_id] => 345
)
[relation:protected] => ; Array
(
)
The current problem is I don’t know how to deal with $wamResult,