Database Tables
How Database Tables are setup
Xano's Database Table view gives you a high-level overview of the individual tables (or entities) and their associated schema. Database schema shown underneath each table is a blueprint of the database table which specifies what fields are present and their associated types. For example, the user
table pictured above has an id
column represented by an integer and a name
column which is represented by text.
Viewing Database Table Relationships
Database Tables almost always have some sort of relationship to one another. Clicking on the "Show Table Relationships" checkbox will show how each table is related to one another.
Sorting, Filtering, and Views
Use this option to switch between card and list view
Use this option to filter your tables by their assigned tags
Use this icon to sort your table list by the selected column
Adding a new Database Table
Add - Add a new table
Import - Import a CSV and create a new table with the CSV data
Table Name - The name of your new table
Primary Key Type - Choose between a sequential integer or a randomly generated UUID. Xano maintains the ID field for you. It is not currently possible to define a custom primary key.
Description - Give your table an internal description
Tag - Add a tag (or multiple tags) to your new database table
Add Basic CRUD Endpoints - Xano can auto-generate some basic endpoints for your new table to perform the following actions via API.
Get All Data
Get Specific Data
Create New Data
Update Existing Data
Delete Data
Thinking through the Database Tables for your App
Last updated