Transactions with Editor PHP Library

Transactions with Editor PHP Library

ayzayz Posts: 63Questions: 23Answers: 1

How do transactions interplay with the PHP library? For instance, I want either all records added to the database or none at all. Would that require me tweaking the editor php code?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin
    edited April 2018 Answer ✓

    Editor carries out all of the SQL operations per request in a transaction. Anything else would generally seem bonkers to me ( :) ), but if you did want to disable the transaction [you can do so using the Editor->transaction() method.

    Allan

  • ayzayz Posts: 63Questions: 23Answers: 1

    Great

This discussion has been closed.