You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
how about, making temporary files of the query, then verifying if everything went good, just renaming the files with the next id
for example, when trying to make 2 writing in 2 different tables, that are related, just make a temporary file table1.x(id).temp
and make the second writing, table2.x(id).temp, if both operations were successful, then rename the files
As pointed out by @daussho in #177 a database transaction feature with automatic rollback would be awesome.
Interesting articles regarding database transactions:
https://en.wikipedia.org/wiki/Database_transaction
https://en.wikipedia.org/wiki/ACID
https://en.wikipedia.org/wiki/Software_transactional_memory
The text was updated successfully, but these errors were encountered: