Hello everyone
I have a function as below:
columns("Items.id,Items.item_name,Items.item_image,
Items.item_promo,Items.item_price,Items.item_price_tl,Items.item_currency,Items.user_type,Items.user_id,Ite ms.referer,Items.item_stock,Items.item_category,Partners.url,Partners.discount_code")
->from('Items')
->join("Partners","Partners.id = Items.user_id")
->where("Items.id IN (".$idsStr.")")
->andWhere("Items.item_stock = 1")
->orderBy("FIELD(Items.id, {$idsStr})")
->getQuery()
->execute();
return $select;
I run that command two times and want to merge them into two different returns. How can I merge two object(Phalcon\Mvc\Model\Resultset\Simple) ?