Recommend this page to a friend! |
All requests ![]() |
> | php class file for InnoDB having the ... | > | Request new recommendation | > | ![]() |
> | ![]() |
by shanmugam - 8 years ago (2016-11-22)
+4 | A detailed class which handles the mysql Innodb connection and handling transaction |
+1 |
This package can generate classes to access MySQL as objects. Each generated classe extends mysqli PHP class to support transaction. The package access to a given MySQL database, retrieve its schema of tables and fields, and generates PHP classes for accessing, reading and writing records as objects. A generates class have setter and getter functions for accessing record field values, as well functions to insert, update and delete table records. |
+1 |
Hi, you can use the Simple MySQLi Class, it can handle also InnoDB databases and you can easily use voku\db\DB; $db = DB::getInstance('localhost', 'root', '', 'mysql_test', 3306, 'utf8', false, false); $db->beginTransaction(); if ($foo === false) { $db->rollback(); } $db->endTransaction(); URL: github.com/voku/simple-mysqli/blob/master/tests/SimpleDbTest.php#L867 |
Recommend package | |
|