def ElemMatch(q, *conditions):
new_condition = {}<EOL>for condition in conditions:<EOL><INDENT>deep_merge(condition.to_dict(), new_condition)<EOL><DEDENT>return Condition(q._path, new_condition, '<STR_LIT>')<EOL>
The ElemMatch operator matches documents that contain an array field with at
least one element that matches all the specified query criteria.