MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / aggregate

Method aggregate

test/test_session.py:728–729  ·  view source on GitHub ↗
(coll, session)

Source from the content-addressed store, hash-verified

726
727 def test_command_cursor_close(self):
728 def aggregate(coll, session):
729 return coll.aggregate([], session=session)
730
731 self._test_cursor_helper(aggregate, lambda cursor: cursor.close())
732

Calls

no outgoing calls

Tested by

no test coverage detected