Wiki

Articles tagged with "transaction", sorted by date (updated)X
Displaying 1-2 of 2 result(s).

How to use nested DB transactions (MySQL 5+, PostgreSQL)

Updated about a year ago by BoazHow-tos6 comments – viewed 41,883 times – ( +47 ) – version 1.1
Original source code and idea are from: PHP, PDO & Nested Transactions.

How to nest DB transactions without actually nesting them.

Updated 2 years ago by le_topHow-tos0 comments – viewed 3,625 times – ( +1 ) – version 1.1
To secure your database from inconsistencies resulting from failing (complex) operations, you (should) use transactions. However, complex methods often rely on other complex methods that themselves build on transactions. This HowTo presents a method to nest or embed transactions without relying on the database's nesting capabilities.