def match(self, query_dict=None, **query):
if query_dict:<EOL><INDENT>self._q.append({'<STR_LIT>': query_dict})<EOL><DEDENT>else:<EOL><INDENT>self._q.append({'<STR_LIT>': query})<EOL><DEDENT>return self<EOL>
Adds a match stage at the query
:param query_dict: The params as dict
:param query: The parameters of the query
:return: The current object