Twidget offers a comprehensive database solution for all workspaces. Here's an overview of how databases are structured and managed within Twidget:
-
Tables: A database may contain multiple tables. Each table stores data in a structured format.
Fields: Tables consist of fields that you can add or remove according to your needs.
Data Types: Each field has a datatype that dictates the type of data it can store. The available datatypes are:
Text
Number
Boolean
Date
Object
List Data: Fields can also hold lists of data if specified.
Rows: Data is stored in rows within a table. Each row represents an individual data entry.
Manual Editing: You can manually edit the data via the web application or through no code commands provided by Twidget.
Deletion: Be cautious when deleting data as deletion actions are irreversible. Once data is deleted, it cannot be restored.
CSV Import
Twidget enables seamless import of data from a CSV file into your database. Follow the steps below to successfully import a CSV file. Step-by-Step Guide. 1. Initiate the Import: - Click on the Import button within the table toolbar. - Select Import from CSV from the dropdown. 2. Open Import Dialog: ...
Table Relationships
In Twidget, you can connect database table data using the `_id` field that is automatically generated for every row in a table. This `_id` field is essential for creating and maintaining relationships across different tables. Types of Relationships. A one-to-one relationship occurs when a single row...
Generate CRUD Endpoints
With Twidget, you can efficiently generate CRUD (Create, Read, Update, Delete) endpoints for your database tables upon their creation. This functionality is designed to streamline the development process and ensure that essential API operations are readily available. Enabling CRUD Endpoints. 1. Crea...
Database Storage
Managing your database storage effectively is crucial for ensuring optimal performance and cost-efficiency when using Twidget. Each entry within your database table utilizes a certain amount of storage space. Twidget provides intuitive tools to help you monitor and manage this storage. Viewing Datab...
Adding Database Table Rows
In Twidget, you can easily add new entries (rows) to your database tables. This feature allows you to expand your data dynamically without the need for complex coding. This document provides a step-by-step guide on how to add rows to your database tables. Adding a New Entry to a Table. To add a new ...