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

Method test_collation

test/test_cursor.py:1620–1621  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1618 self.db.test.find_raw_batches()[0]
1619
1620 def test_collation(self):
1621 next(self.db.test.find_raw_batches(collation=Collation("en_US")))
1622
1623 def test_read_concern(self):
1624 self.db.get_collection("test", write_concern=WriteConcern(w="majority")).insert_one({})

Callers

nothing calls this directly

Calls 3

nextFunction · 0.90
CollationClass · 0.90
find_raw_batchesMethod · 0.45

Tested by

no test coverage detected