Magento Database Transaction -
How can I insert data into multiple tables in a single transaction and rollback in Magento if there is an error in the process? ? I can write custom questions and use the transaction, but I like if I can do this using Magneto methods.
You can try the grain: getModel ('core / resource_transaction'). Documentation for this is as it is.
But perhaps more useful, it's an order to use it to make an invoice.
Comments
Post a Comment