You are currently browsing legacy 1.0 version of documentation. Click here to switch to the newest 5.1 version.
The Collections Screen
In this screen we show a list of all available collections in the database, and documents associated with them. A Collection in RavenDB is a group of documents sharing the same entity name. It is not a "database table", but rather a logical way of thinking of document groups.
This is how the Collections screen looks like:
In the top there is the list of all available collections, each with a number of documents currently associated with it, and each represented by a different color. Clicking on a collection in that list will load the documents associated with it in the viewing pane below. Navigating the documents is done the same way as it is done in the Documents screen.
Deleting a collection
From this screen you can delete a bulk of documents based on their collection association.
Since a Collection is just a logical unit in RavenDB, there is no actual meaning in deleting a collection. By deleting a collection in this screen, you are telling RavenDB to delete all documents sharing the same entity name which is equal to the name of the Collection you are asking to delete.
To perform this delete operation, right click on a Collection name from the list on the top and select "Delete". A confirmation dialog will appear.
This operation cannot be undone, and is likely to delete a lot of documents. Use this option wisely.