# Container database: documents, fields and collections

> Turn on the container database, search documents, edit or delete fields, move documents and create collections from the dashboard.

The **Database** tab shows the documents your container writes to Wascer DB, organized into collections. Use it to check what was written, fix values, move documents and create collections. To learn what Wascer DB is and how to write data from GTM, see the [Wascer DB](https://wascer.com/kr/helpdesk/wascer-db/wascer-db-doc) article.

Some parts of this tab are always shown in Portuguese: the document inspector and the confirmation messages. This article gives each one as it appears, with the meaning.

## Open the tab

1. In the sidebar, click **Containers** and open the container.
2. Click the **Database** tab.

## Turn on the database

If the database is not active on the container yet, the tab shows **Activate the database**.

1. Click **Activate database**.
2. Wait for the message **Banco de dados ativado com sucesso!** (database activated).

Once it is on, the database cannot be turned off from the dashboard. If you see **Não foi possível ativar o banco de dados.** (could not activate the database), try again in a few minutes. If the error persists, [open a ticket](https://wascer.com/kr/helpdesk/suporte/abrir-e-acompanhar-ticket) with the container's name.

Wascer DB is included in paid plans, from **Starter** up. Compare plans on the [pricing page](https://wascer.com/kr/pricing).

## What the page shows

- At the top: **Loaded** (how many documents have been loaded on the page, not the database total), **Collections** (how many collections exist) and **Per page**.
- On the left, the **Collections** column, with the number of collections. Click a collection to see its documents. **default** is the one that opens first.
- Above the table: the name of the open collection and how many of its documents have been loaded.
- The table shows the **Identifier** (the document key) and **Created at** (date and time in your browser's time zone).

The table loads 100 documents at a time. Click **Load more** to see the next ones. When there is nothing left, it shows **All documents loaded**.

## Search and filter

- In **Search document by key…**, type the document key. The search applies to the open collection.
- In **Filter collections**, in the left column, type part of a name to find a collection.
- In **Filters**, set **Items per page** (1 to 500 documents per load) and click **Apply**. **Clear** goes back to 100.

The open collection, the search and the items per page are kept in the page address, so you can save or share the filtered link.

## Inspect a document

Click a row in the table. The **Inspecionar Documento** panel (inspect document) shows the key (**Key**), the collection and the document content as a tree, with different colors for text, numbers, true or false, lists and objects. To go back to the table, click the **X**.

### Edit a field

1. Hover over the field and click **Editar** (edit, the pencil).
2. Type the new value and press **Enter** to save. **Esc** cancels.

Only simple fields can be edited: text, number and true or false. In a number field, a value that is not a number shows **Valor inválido para número.** (invalid number). In a true or false field, type `true` for true: any other value becomes false. The message **Documento editado com sucesso!** (document edited) confirms the change.

### Delete a field

Hover over the field and click **Deletar** (delete, the trash can). The field is deleted right away, **without asking for confirmation**, and you cannot undo it from the dashboard. The message **Campo deletado com sucesso!** (field deleted) confirms it.

## Move a document to another collection

1. With the document open, click **Mover** (move).
2. In **Select a collection**, pick the destination collection.
3. Click **Move**.

The message **Documento movido com sucesso!** (document moved) confirms it. The **Move** button in the dialog stays disabled while the destination is the current collection.

## Create a collection

1. In the **Collections** column, click **+ New**.
2. Type the name. Use only letters, numbers, hyphens and underscores, such as `users` or `leads_2026`.
3. Click **Create**.

The page opens the new collection. If the name already exists, you see **Já existe uma collection com esse nome.** (a collection with this name already exists).

## What the dashboard does not do

From the dashboard you cannot create or delete a whole document, delete a collection, or import or export data. For that, use the [Database API documentation](https://wascer.com/docs) with a [Database API key](https://wascer.com/kr/helpdesk/conta-equipe-e-seguranca/chaves-da-database-api).

## GTM templates

The **Download templates** button, above the table, opens the Wascer Store, where you find the templates that write to and read from the database in GTM. See [how to find and download templates](https://wascer.com/kr/helpdesk/wascer-store/encontrar-e-baixar-templates).

> **Dica:** On some accounts, this tab also shows the **Database API** bar. The **Database API** button shows the container's API base URL with the key already in it and copies a test command (curl) or a prompt for AI agents. The URL contains the key: treat it as a password.

Source: https://wascer.com/helpdesk/containers-no-painel/banco-de-dados-do-container
