Does php-fusion support database transactions? How would they work? I need a transaction because i try to insert multiple records and so it happens it is possible that errors occur - after all i'm only human. The problem then is that some records are there and others are not and the system would be inconsistent. clean this mess up afterwards is a real pain.
I would like to know how to handle this. Can someone give me some hints on this topic?
For now i use dbquery("begin"); since i'm using mysql without PDO, but i think there should be something more general that php-fusion deliveres like dbbegin(),dbcommit(),dbrollback()
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct