def add_clause(self, clause):
if clause.query_loc == MongoClause.LOC_MAIN:<EOL><INDENT>self._main.append(clause)<EOL><DEDENT>elif clause.query_loc == MongoClause.LOC_MAIN2:<EOL><INDENT>self._main2.append(clause)<EOL><DEDENT>elif clause.query_loc == MongoClause.LOC_WHERE:<EOL><INDENT>self._where.append(clause)<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError('<STR_LIT>'.format(clause.query_loc))<EOL><DEDENT>
Add a new clause to the existing query.

        :param clause: The clause to add
        :type clause: MongoClause
        :return: None