I am trying to search by more than one criteria. I have searched Redbean's site for the correct syntax but all they offer is examples using only one search criteria.
$match = R::find('tuba', ' displayType = ? ', [ '$displayType' ]);
I am trying to also search by inventoryNUM. Ive tried executing this code but to no avail.
$match = R::find('tuba', ' displayType = ? , inventoryNUM = ? ', [ '$displayType' , '$inventoryNUM' ]);
Is this the correct syntax? Does R::find even support more than one search criteria?