@classmethod<EOL><INDENT>def delete_many(cls, documents):<DEDENT>
<EOL>frames = cls._ensure_frames(documents)<EOL>all_count = len(documents)<EOL>assert len([f for f in frames if '<STR_LIT>' in f._document]) == all_count,"<STR_LIT>"<EOL>signal('<STR_LIT>').send(cls, frames=frames)<EOL>ids = [f._id for f in frames]<EOL>cls.get_collection().delete_many({'<STR_LIT>': {'<STR_LIT>': ids}})<EOL>signal('<STR_LIT>').send(cls, frames=frames)<EOL>
Delete multiple documents