MCPcopy Create free account
hub / github.com/Boris-code/feapder / get_index

Method get_index

feapder/db/mongodb.py:440–441  ·  view source on GitHub ↗
(self, coll_name)

Source from the content-addressed store, hash-verified

438 collection.create_index(_keys, unique=unique)
439
440 def get_index(self, coll_name):
441 return self.get_collection(coll_name).index_information()
442
443 def drop_collection(self, coll_name):
444 return self.db.drop_collection(coll_name)

Callers 2

get_index_keyMethod · 0.95
test_get_indexxMethod · 0.80

Calls 1

get_collectionMethod · 0.95

Tested by 1

test_get_indexxMethod · 0.64