Spanish Total.js
Deutsch
Dokumentation Für KI-Agenten
Inhalt

Relations between tables

Link a record to a record of another table with a column of the type Table.

.md Website

Diese Seite ist noch nicht übersetzt. Du liest das Original.

Auf dieser Seite

A relation links two tables. For example, each order belongs to one customer. You create it with a column of the type Table in the table that points to the other one.

Create a relation

  1. Open the settings of the table that holds the link, for example Orders.
  2. In the Columns tab, click Add.
  3. Choose the type Table.
  4. In Table, choose the table to link to, for example Customers.
  5. Enter the Name, for example Customer.
  6. Click SUBMIT in the column window and in the table form.

In the list of orders, the Customer column shows the name of the linked customer. In the detail of an order, you choose the customer from a list.

Options of a relation

  • Render items in all related tables: decides how the linked records appear in the detail of the other table. With As list, the detail of a customer shows a panel with the customer's orders.
  • Show link button: adds Show more under the value in the detail. Click it to open the linked record.
  • Filter by: limits which records can be chosen.

The detail of a customer with the panel of its orders

See the relations

Options > Toggle diagram shows all the tables and their relations. See Diagram.

Hergestellt in Europa