this query match both variable shopid and type match in the query and gives the result ,however i want to match either shopid or type. basically it is OR condition don’t need to match both variable one of the mtach will be fine and results come out.
let products = ProductApi.find({shopid:Session.get('shop')._id}).fetch();