MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / drop

Method drop

test/correctness/mongo_model.py:610–612  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

608 self.data[key]['_id'] = _id
609
610 def drop(self):
611 self.drop_indexes()
612 self.remove()
613
614 # So that we can use PyMongo and MongoModel implementations of a "collection" interchangeably
615 def drop_indexes(self):

Callers 4

one_iterationFunction · 0.80
test_foreverFunction · 0.80
fixture_collectionFunction · 0.80

Calls 2

drop_indexesMethod · 0.95
removeMethod · 0.95

Tested by 2

test_foreverFunction · 0.64
fixture_collectionFunction · 0.64