'Database Transaction' functionality

Answered

Hi,

How does this functionhttps://docs.xano.com/working-with-data/functions/database-requests/database-transaction work if a non-DB function fails?
If this happens:

  1. Edit record in user table
  2. Create a variable test equal to an empty object {}
  3. Create another variable equal to variable test.name, which fails because name isn't in test

Does step 1, Edit Record, get committed to the database?

Thank you!

11 replies