Design Tables and Choose Field Types
Design a Contacts table, choose field types, and add and update a record. Learn why the right field types make your data easier to use.
Watch tutorial (3:46)
Design a Contacts table, choose field types, and add and update a record. Learn why the right field types make your data easier to use.
Watch tutorial (3:46)Database tables are essential components of your Twidget workspace, serving as the primary storage locations for your data. In Twidget, each table consists of rows and fields, meticulously designed for efficient data management and retrieval.
Rows: Each row in a database table represents a single data entry or record.
Fields: Fields are the individual columns in a table that store specific types of data. Each field has a designated datatype, and the data stored within must conform to this datatype.
Datatypes: Each field in a table is assigned a datatype, which dictates the kind of data that can be stored in that field (e.g., text, number, date).
System-Generated Fields: Each entry in a table automatically includes a unique identifier (_id) and a timestamp (created_at) indicating when the entry was created.
Twidget provides robust features for managing your database tables:
Edit Table: You can modify the structure of your table by adding or removing fields as needed.
Manage Data: Manage the entries in your table effortlessly with tools for editing, deleting, and viewing records.
View Data Usage: Monitor your table’s data usage statistics via the tables toolbar located at the top of the page.
Import and Export: Easily import data into your table or export it for external use.
Filter and Sort: Utilize the filter and sort tools to refine the data displayed in your table according to specific criteria.
Database tables in Twidget are powerful and flexible, allowing you to efficiently store, manage, and interact with your data. From automatic system fields to comprehensive data operations and authentication functionalities, Twidget tables provide a robust framework for your no-code applications.
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...
Export Data from Tables
Twidget allows you to export data from your database tables to a CSV file. This feature supports the export of both complete and filtered datasets. Here’s how you can utilize this functionality: Features. - Format: Export data in CSV format. - Data Handling: Object and list data types within your ta...
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: ...
Filter Data
In Twidget, you can easily filter and sort data within the database tables view. This allows you to refine and manipulate the data as needed. Below are the steps and options available for filtering and sorting data. Filtering Data. To filter data: 1. Click on the Filter Button: In the table toolbar,...
Save Changes Together
A Database Transaction groups database work so its changes complete together. If a command in the block fails, the block's changes are rolled back. Example: an order and its stock change. 1. Add Database Transaction to the workflow. 2. Inside Save changes together, add the supported commands that cr...