Skip to main content
Add Record allows you to add a new record to an existing table.
In this section, you will specify the data to be added to the record.Click to quickly enable or disable all fields.Hover over each field name and click to disable that field — this means that no data will be written, or the default value in the database will be used instead, if set.
Hiding a field prevents its value from being written. Statements created before the Enforce Hidden Fields release keep the older behavior — where a hidden field could be overwritten by an input or variable of the same name — until you enable it. See Understanding enforce_hidden_fields for details.
If you have an object that already contains all of the data to use in the add record step, click to auto-fill from that variable.
You are able to manually specify a record ID, but proceed with caution. If you have workflows that rely on sequential IDs, or multiple requests try and add records with the same ID simultaneously, you might run into problems. By default, Xano will auto-increment the ID for you, which is usually best practice.