The database is where all your dynamic content is stored. Collections are databases where your website information is stored, you can have multiple collections in a single project!
Adding a collection
To get started, let’s first create a new database. If you don’t have any databases yet, go to the left-hand side and click on the second icon, Databases, here click on the +Create local database button.
You can name your database in the top left corner on the Table name section.
After naming and saving the database you will have a three-dot icon where you can Rename or Delete the database.
Fields define the format in which your data is added, when you create a new database you will see two default fields being displayed ID and Name, there are three other default fields automatically created but these are hidden from view.
You can add additional fields by clicking on the +Add field button. The types of fields available are:
Once you’ve selected the field type you wish to add, you need to give the field a name and, when applicable, insert a default value (example: a default number, email, name, etc).
Finally, click on Create field button for the field to be added to your database.
You can Edit, Duplicate, Hide and Delete your non-default fields at any time.
Right next to the field name click on the three dots icon and the previously mentioned options will be available to you!
Additional database features
In the top right corner, we have a few options available.
You can search specific content on your database by using the Search bar.
Next to it, we have a Refresh button that refreshes the database information.
By clicking on Fields, you can see all of your current database fields, you have the ability to hide or show selected fields, show or hide all of them and search for specific fields.
Finally, you have an Import button that gives you the ability to import CSV files and their data to a database.