I need query which gives the following result: With multi values I want to give a result only if all values is equal to given parameter. For example I have an array of ticket type. Then my query should only return a result if all ticket types is equal to, for example, 10. In this case if I have the next two objects then I only want to get objectTwo with parameter 10:
objectOne: [{ticketType:10}, {ticketType:20}]
objectTwo: [{ticketType:10}, {ticketType:10}]
I actually need some kind of != operator