Replies: 0 comments 2 replies
|
Currently in 3.x there is no such functionality. You can do it via reflection by getting hold of mvStore instance from MVMap<?, ?> mvMap = mvStore.openMap(collectionName);
mvStore.removeMap(mvMap);Having said that, in 4.x I am trying to add a new api which can do that from nitrite. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello, is there a way to delete a collection without first needing to load the collection? I need a way to delete a corrupt collection from the DB that causes an exception during loading of the collection. But from the API docs, I see that you need to call
collection.drop(). But the problem is that I cannot first get the collection, because of corruption of the collection itself which leads to an exception when callingdb.getCollection().All reactions