Query\Drivers\AbstractUtil
Abstract class defining database / table creation methods
Synopsis
- // methods
- public void __construct()
- public DriverInterface getDriver()
- public string createTable()
- public string deleteTable()
- public abstract string backupStructure()
- public abstract string backupData()
Methods
public
- __construct() — Save a reference to the connection object for later use
- backupData() — Return an SQL file with the database data as insert statements
- backupStructure() — Return an SQL file with the database table structure
- createTable() — Convenience public function to generate sql for creating a db table
- deleteTable() — Drop the selected table
- getDriver() — Get the driver object for the current connection
History
-
2018-01-26T08:39:30-05:00 (commit #3067976)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Add updateBatch method
-
2018-01-24T13:14:03-05:00 (commit #1d583bc)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Add more type hinting
-
2018-01-22T15:43:56-05:00 (commit #91eb812)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Various refactoring
-
2018-01-19T15:47:34-05:00 (commit #369ca6e)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Flatten source structure a bit
-
2018-01-19T13:43:19-05:00 (commit #c735c27)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Update file headers
-
2016-10-13T21:55:23-04:00 (commit #b8d4768)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
camelCase methods and properties
-
2016-10-12T22:12:25-04:00 (commit #6740aae)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
PHP7 or bust!
-
2016-09-07T17:39:19-04:00 (commit #ca60162)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Miscellaneous cleanup and refactoring
-
2016-09-07T14:22:52-04:00 (commit #2db7ad1)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
More style fixes
-
2016-09-07T13:17:17-04:00 (commit #24f3b1d)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Update header comments
-
2016-09-07T13:10:03-04:00 (commit #bb38213)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Code Style fixes
-
2015-11-10T20:59:03-05:00 (commit #2613a1c)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Update lots of comments
-
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-08-08T13:48:20-04:00 (commit #dd672df)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Reorganize classes to autoload by namespace