多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

136 lines
6.3 KiB

---
title: 'Actions on base'
description: 'Actions you can perform on a base in NocoDB: Rename, duplicate, delete, star a base.'
tags: ['Bases', 'Rename', 'Duplicate', 'Delete', 'Relations', 'Swagger', 'REST APIs']
keywords: ['NocoDB base', 'base rename', 'base duplicate', 'base delete', 'base star', 'base context menu', 'base owner', 'base collaboration', 'base actions']
---
## Base context menu
The base context menu offers a selection of swift actions that can be executed on a base. To access this menu, click on the ellipsis symbol (`...`) located adjacent to the base name within the left sidebar.
![base context menu](/img/v2/base/base-context-menu.png)
## Rename base
To modify the name of a base, you can easily do so by following these steps:
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `Rename` option.
3. Input the new name for the base directly within the field provided and then press the `Enter` key to confirm and save the updated name.
![base context menu](/img/v2/base/base-context-menu.png)
![base rename](/img/v2/base/base-rename.png)
## Star base
You can star a base by following simple steps below:
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `Add to Starred` option.
3. Subsequently, the designated base will be placed into the "Starred" section, conveniently positioned within the left sidebar.
![base context menu](/img/v2/base/base-context-menu.png)
![base starred](/img/v2/base/base-starred.png)
:::info
Starred base will appear in both `Starred` section and `All Bases` section on the left sidebar.
:::
### Remove a base from starred list
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `Remove from Starred` option.
3. Subsequently, the designated base will be removed from the `Starred` section.
![image](/img/v2/base/base-remove-from-starred.png)
## Duplicate base
To duplicate a base, you can follow these straightforward steps:
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `Duplicate` option.
3. Optionally, you can configure the duplication process with the following choices:
a) `Include data`: You have the flexibility to choose whether to duplicate the base with or without its data.
b) `Include views`: You can decide whether to duplicate the base with or without its views.
4. Click the `Confirm` button in the confirmation modal that pops up.
5. A new base will be created, mirroring the original base's schema and data/views based on the configurations specified in step 3.
![base context menu](/img/v2/base/base-context-menu.png)
![image](/img/v2/base/base-duplicate.png)
:::info
- A duplicate base will be generated within the same workspace as the original base.
- The duplicated base will be suffixed with ` Copy` in its name.
- You will be designated as the `base owner` upon the duplication of the base.
- Existing base members will not be transferred to the duplicated base.
:::
## Delete base
If you determine that a base is no longer necessary, you have the option to permanently remove it from your workspace. Deleting a base will delete all the tables and data associated with it.
:::info
**This action cannot be undone.**
:::
:::info
Only **base owner** can delete a workspace.
:::
To delete a base:
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `Delete` option.
3. Select `Delete base` button on the confirmation dialog box.
![base context menu](/img/v2/base/base-context-menu.png)
![base delete](/img/v2/base/base-delete.png)
## Developer features
### Base settings
Some general configurations are available for you to modify within the base settings.
1. **Show M2M tables**: Toggle this option to display/hide M2M tables within the left sidebar. Many-to-many relation is supported via a junction table & is hidden by default.
2. **Show NULL in cells**: Toggle this option to display/hide NULL values within the cells of the table. This helps differentiate against cells holding EMPTY string.
3. **Show NULL & Empty in Filters**: Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.
To configure base settings, you can follow these steps:
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `Settings` option.
![base context menu](/img/v2/base/base-context-menu.png)
![bsae settings](/img/v2/base/base-settings.png)
### REST APIs
NocoDB provides a Swagger UI for each base. To access the Swagger UI, follow these steps:
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `REST APIs` option.
![base context menu](/img/v2/base/base-context-menu.png)
![swagger](/img/v2/base/base-swagger.png)
### Relations
NocoDB provides a visual representation of the relations between tables within a base. To access the relations diagram, follow these steps:
1. Initiate the base context menu by clicking on the ellipses `...` located next to the base name within the left sidebar.
2. In the dropdown menu that appears, choose the `Relations` option.
![base context menu](/img/v2/base/base-context-menu.png)
![base relations](/img/v2/base/base-relations.png)
## Related articles
- [Base overview](/bases/base-overview)
- [Create an empty base](/bases/create-base)
- [Import base from Airtable](/bases/import-base-from-airtable)
- [Invite team members to work on a base](/bases/base-collaboration)
- [Share base publicly](/bases/share-base)
- [Rename base](/bases/actions-on-base#rename-base)
- [Duplicate base](/bases/actions-on-base#duplicate-base)
- [Bookmark base](/bases/actions-on-base#star-base)
- [Delete base](/bases/actions-on-base#delete-base)