Add or Edit Record

Add or Edit Record takes the best of both Add and Edit Record, and combines them into one function. Using this will...

  • Edit the record if the record is found

  • Add it if it isn't

Functionally, it is the same as using Edit Record.

You need to tell Xano which record you want to edit by providing a field_name and field_value. Field_name is the name of the database field to look inside of, and field_value is the value to look for in that field — for example, field_name: id & field_value: 1

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.

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.

Last updated

Was this helpful?