Sign Up

Table Field Types

Each table column in Twidget has a data type. The available data types are:

  • Text

  • Number

  • Boolean

  • Date

  • Object

Field Type Adherence

Data added to the table should adhere to the column's field type. When you manually enter data via the web application, the value editor will use the input type of the field.

Field Types

Text

  • Description: Allows alphanumeric characters.

  • Example: "Sample Text", "1234", "Hello World!"

Number

  • Description: Allows numeric values.

  • Example: 125, 0.45, -20

Boolean

  • Description: Represents true or false values.

  • Example: true, false

Date

  • Description: Allows date values following a specific format.

  • Example: "2023-10-01", "2022-12-31"

Object

  • Description: A complex type that can have any data type for its fields.

    • Fields within an object can adhere to the types mentioned above.

Single vs Multiple Values

Each field can hold either a single value or multiple values. You can enable a field to store multiple values by selecting the "List" option in the field creator.

Managing Table Fields

Adding New Fields

To add a new field to your table:

  1. Click the "+" icon.

  2. Choose the field type and name your field.

  3. Configure any additional settings (e.g., enable multiple values).

Editing Existing Fields

To edit an existing field:

  1. Locate the field you want to edit.

  2. Click on the field name.

  3. Make the necessary changes and save.

Removing Fields

To remove an existing field:

  1. Locate the field you want to remove.

  2. Click on the field name.

  3. In the Edit field sidebar click Delete.

  4. Confirm your action.

Best Practices

  • Always ensure data input adheres to the specified field type.

  • Use meaningful names for your columns to facilitate easy understanding and management.

  • Regularly review and update fields to keep your data structure optimized.

Related Topics

Database Basics

Twidget offers a comprehensive database solution for all workspaces. Here's an overview of how databases are structured and managed within Twidget: Database Structure. 1. Tables: A database may contain multiple tables. Each table stores data in a structured format. 2. Fields: Tables consist of field...

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: ...

Authentication Table

An authentication table is a crucial component in Twidget that is used to store all necessary authentication information, essential for authenticating requests. Overview. - Purpose: To store authentication details such as email, password, token signature, and reset key. - Recommendation: It's recomm...

Database Tables

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. Structure of Database Tables. - Rows: Each row in a 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 ...