When using arrays, you can add multiple conditions that must apply to the same element.
In the query db.items({list: {$elemMatch: {a: 1, b: "green"}}})
, the condition is "a single array element of the list
property must match a: 1
and b: "green"
".