Does anyone know where I can find an example of a database transaction using Contao's transaction methods?
I'm looking at the API docs:
Database::beginTransaction();
http://api.contao.org/v2/#beginTransaction
Database::commitTransaction();
http://api.contao.org/v2/#commitTransaction
Do these just get called before and after a set of queries? If someone knows where this is used either within the Contao core or a module that would be helpful.
Thanks
Bookmarks