Tables

THIS PAGE
Table Properties
Creating a table
Editing a table
Deleting a table

Similar to how they work in databases, tables allow you to create different types of resources for your project.

Example: Movie when creating a Netflix like API or About us when creating a website.

Models contain fields and groups of fields called fieldsets.

Table Properties

Property Description
Name The name of the table. Can be any arbitrary value.
Type The type of resource. It can be either list type or an individual table.
Learn More

Creating a table

Create a table by clicking on the + button on the top header

Screenshot

Enter a name and decide whether it will store a single entry or multiple entries

Screenshot

You can define multiple different models for your project and interlink them through fields similar to how foreign keys work. Learn more about linking here

Editing a table

You can edit a table by clicking on the table on the top header or the graph. The properties panel will show on the bottom for the table where you can edit all necessary fields.

Screenshot

Note: Some properties are editable but are not recommended to be edited once you go live with your project as they can cause loss of data. You will be shown a warning when performing such actions.

Deleting a table

A table can be deleted by simply right clicking on the table and selecting delete. All fields and fieldsets within the table will also be deleted. This is permanent

Screenshot

Caution! This is a dangerous action and can cause permanent loss of data.

Did you find what you were looking for?
👍
👎
What went wrong?
Need more help?We have a thriving Discordcommunity that can help you with all things Canonic. →