---
title: "Documents: Documents and Collections"
description: "Browse RavenDB documents and collections in Studio with filtering, sorting, column selection, and bulk document operations."
url: "https://docs.ravendb.net/7.2/studio/database/documents/documents-and-collections"
version: "7.2"
---

# Documents: Documents and Collections

> RavenDB publishes an official agent skill for coding assistants at https://docs.ravendb.net/skills/ravendb/SKILL.md (also installable with `npx skills add ravendb/skills`). The skill describes itself as: "Read this before writing any RavenDB query, client call or /databases/ request. Covers server setup, document modelling, the Node.js, .NET and Python clients, RQL, indexes, vector search and AI agents. Code written from recall tends to run and return the wrong rows, because RQL resembles SQL and the clients take field names as plain strings."

## Documents: Documents and Collections

> **Note:** Documents {#documents}
>
> - A document holds your data in a JSON format object
> - For more information about documents, see [Document View](https://docs.ravendb.net/7.2/studio/database/documents/document-view.md)

> **Note:** Collections {#collections}
>
> - Collections are used to group documents together so that it is convenient to apply some operation to them,  
>   i.e. subscribing to changes, indexing, querying, ETL, etc.
>
> - Every document belongs to exactly one collection.
>
> - Typically, a collection holds similarly structured documents based on the entity type of the document.
>
> - Note: It is not required that documents within the same collection will share the same structure or have any sort of schema. The only requirement for documents to be in the same collection is that they must have the same `@collection` metadata property.
>
> - For more information see [What is a Collection](https://docs.ravendb.net/7.2/client-api/faq/what-is-a-collection.md)

> **Note**
>
> - In this page:
>   - [The Documents View](#the-documents-view)
>   - [The @hilo Collection](#the-@hilo-collection)
>   - [The @empty Collection](#the-@empty-collection)

## The Documents View

- Shows all collections and the documents each contains.
- You can perform actions such as create, delete, or export a document.

![Figure 1. Documents and Collections](https://docs.ravendb.net/assets/images/documents-and-collections-1-bcbb957b4ad79f19ea61097518b1cfd5.png)

1. **Recent**:

- Click on `Recent` to see a list of **all** documents from **all** collections in the selected database
- Documents are ordered by the time they were last modified

2. **Collections**:

- The existing **collections** in the selected database
- The number of documents each collection has is indicated

3. **Documents**:

- The list of documents within the selected collection
- Each **column** corresponds to a *property* in the document JSON
- Documents are ordered by the time they were last modified, from newest to oldest

![Figure 2. Actions](https://docs.ravendb.net/assets/images/documents-and-collections-2-393223848d35e825ca2f92b7d4098fed.png)

1.

- **New Document**: Create a new document (in a new collection -or- in the current collection)
- **Delete**: Delete selected documents
- **Copy**: Copy documents or just document IDs of selected documents

2.

- **Query**: Navigates to query current collection view
- **Export as CSV**: Export the collection data into a CSV file (visible columns only -or- all documents columns)
- **Display**: Customize which columns to view. A custom column can be added

3.

- **Patch**: Patch documents in a collection or in an index.
- **Query**: Query documents in a collection or in an index.
- **Conflicts**: View and resolve conflicting documents. See [Conflicts](https://docs.ravendb.net/7.2/studio/database/documents/conflicts-view.md).
- **Compare Exchange**: Manage compare exchange values for this database. See [Compare Exchange](https://docs.ravendb.net/7.2/compare-exchange/overview.md).

Click `Display` to:

- Select which columns to view
- Reorder columns viewed
- Add a custom column

![Figure 3. Manage Displayed Columns](https://docs.ravendb.net/assets/images/documents-and-collections-3-4bfa2c05c1ec0395f4c5f3fb3b2068c7.png)

## The @hilo Collection

![Figure 4. hilo collection](https://docs.ravendb.net/assets/images/documents-and-collections-4-e558f4f0e97b849ba0e8f59a99d34c47.png)

- Documents in the *@hilo* collection are created when documents are created from the [RavenDB client](https://docs.ravendb.net/7.2/client-api/session/storing-entities.md) (Not from the studio) **without an explicit ID**.

- The *'Max'* property value that shows in the hilo doc represents the largest ID number that was used for a *client generated document* in that collection.

- For more information, see [HiLo Algorithm](https://docs.ravendb.net/7.2/client-api/document-identifiers/hilo-algorithm.md).

## The @empty Collection

![Figure 5. empty collection](https://docs.ravendb.net/assets/images/documents-and-collections-5-29580fcff0932454bf864b05e0439735.png)

- The *@empty* collection includes:
  1. Documents that were created with a **GUID identifier** (without specifying a collection)
  2. Documents that were created with a **Semantic ID** that does *not* end with (/) or (|)

- For more information about the various documents identifiers that can be generated,
  see [Create New Document](https://docs.ravendb.net/7.2/studio/database/documents/create-new-document.md).
