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

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -