Transactions with Editor PHP Library
Transactions with Editor PHP Library
![ayz](https://secure.gravatar.com/avatar/aa69d23a55e5c52d8e32d35f0d60cb48/?default=https%3A%2F%2Fvanillicon.com%2Faa69d23a55e5c52d8e32d35f0d60cb48_200.png&rating=g&size=120)
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
This discussion has been closed.
Answers
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
Great