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

Method insert_one

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

Source from the content-addressed store, hash-verified

2427 collection.drop()
2428
2429 def insert_one(collection, _):
2430 collection.insert_one({})
2431
2432 def test(collection):
2433 self.assertEqual(NTHREADS, collection.count_documents({}))

Calls

no outgoing calls

Tested by

no test coverage detected