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

Method find_one

test/test_client.py:2475–2476  ·  view source on GitHub ↗
(collection, _)

Source from the content-addressed store, hash-verified

2473 results[:] = []
2474
2475 def find_one(collection, _):
2476 results.append(collection.find_one())
2477
2478 def test(collection):
2479 self.assertEqual(NTHREADS, len(results))

Calls

no outgoing calls

Tested by

no test coverage detected