How to implement $elementMatch condition ?
$result = Hotel::findFirst(array( '$elementMatch' => array( 'sellingCodes' => (string)$this->request->getPost('sellingCode') ) ));
How to implement $elementMatch condition ?
$result = Hotel::findFirst(array( '$elementMatch' => array( 'sellingCodes' => (string)$this->request->getPost('sellingCode') ) ));