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

Method aggregate

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

Source from the content-addressed store, hash-verified

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

Callers 15

operations.pyFile · 0.45
callbackMethod · 0.45
opMethod · 0.45
opMethod · 0.45
test_op_msg.pyFile · 0.45
create_resourceMethod · 0.45
test_aggregateMethod · 0.45
test_snapshot_queryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected