Open tangkhaiphuong opened 5 years ago
@tangkhaiphuong for now you can list collections by db.ListCollections()
and check if collection exists or not. but for indexes, collection statistics api is need which is not implemented yet
@ra0o0f I use db.ListCollections(), but our db have over 5000 collections so each check collection takes more time to fetch the whole list then finding.
I don't see any API support to checking collection existed or not. And same for indexer, how to get information indexes of the collection.