Query\Drivers\Mysql\Util
MySQL-specific backup, import and creation methods
Synopsis
- // methods
- public string backup_structure()
- public string backup_data()
- // Inherited methods from AbstractUtil
- public void __construct()
- public Driver_Interface get_driver()
- public string create_table()
- public string delete_table()
- public abstract string backup_structure()
- public abstract string backup_data()
Hierarchy
Extends
Coverage
Methods | 100% | 2 / 2 |
Lines | 100% | 39 / 39 |
Methods
public
- backup_data() — Create an SQL backup file for the current database's data
- backup_structure() — Create an SQL backup file for the current database's structure
Inherited from Query\AbstractUtil
public
- backup_data() — Return an SQL file with the database data as insert statements
- backup_structure() — Return an SQL file with the database table structure
- create_table() — Convenience public function to generate sql for creating a db table
- delete_table() — Drop the selected table
- get_driver() — Get the driver object for the current connection
History
-
2015-11-10T10:12:23-05:00 (commit #b5a141f)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Make class names Pascal Case
-
2015-07-29T16:51:17-04:00 (commit #8511c6a)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Move library into src folder, fix simpletest test runner
-
2015-07-16T16:56:13-04:00 (commit #bfc3ea3)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Reorganize drivers into a more modern layout
-
2014-04-24T15:32:09-04:00 (commit #17354ee)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Move SQL and Util classes to their own namespaces
-
2014-04-24T13:42:01-04:00 (commit #ff77cea)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Remove __call method from util classes
-
2014-04-08T17:13:41-04:00 (commit #74d4a00)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Test improvements
-
2014-04-03T16:49:01-04:00 (commit #3eeea75)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Cut down on some duplication, and increase test coverage
-
2014-04-03T14:44:03-04:00 (commit #a333920)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Rename db_util to abstract_util, mark create_table method as deprecated
-
2014-04-02T17:08:50-04:00 (commit #e3fdad5)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Namespaces!
-
2014-04-02T10:31:59-04:00 (commit #02d4e0e)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
improve query builder and connection manager, skip coverage of some soon-to-be-removed methods
-
2014-03-20T11:20:30-04:00 (commit #af73f80)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Remove pointless constructor over-riding
-
2014-03-17T20:12:58-04:00 (commit #df5b4b9)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Fix more code quality issues
-
2014-03-17T19:52:43-04:00 (commit #b6192e6)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
More appeasement of scrutinizer-ci
-
2014-03-17T19:45:41-04:00 (commit #97730f0)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Fix some code quality issues
-
2014-03-17T19:34:48-04:00 (commit #5e464ef)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Remove some dead code, update docs
-
2014-02-18T15:18:01-05:00 (commit #1095e85)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Fix some docblocks, and update test files to 2014