Query\Drivers\Pgsql\Util
Postgres-specific backup, import and creation methods
Synopsis
- // methods
- public string backupStructure()
- public string backupData()
- // Inherited methods from AbstractUtil
- public void __construct()
- public DriverInterface getDriver()
- public string createTable()
- public string deleteTable()
- public abstract string backupStructure()
- public abstract string backupData()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
31 | Implement Backup function |
Methods
public
- backupData() — Create an SQL backup file for the current database's data
- backupStructure() — Create an SQL backup file for the current database's structure
Inherited from Query\Drivers\AbstractUtil
public
- 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-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-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-11T09:25:21-05:00 (commit #e62f577)
Author: Timothy J Warren (tim@timshomepage.net) / Commiter: Timothy J Warren (tim@timshomepage.net)
Fix a bunch of one line if statements
-
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-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-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