Query\Drivers\Pgsql\Util
Posgres-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% | 27 / 27 |
Tasks
Line | Task |
---|---|
33 | Implement Backup function |
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-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-03-31T16:35:02-04:00 (commit #3fd4580)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Remove redundant method
-
2014-03-31T12:58:43-04:00 (commit #23c1cf0)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Improvements for scrutinizer
-
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:20:53-04:00 (commit #97275ba)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Update some docblocks for __called methods
-
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
-
2014-01-02T12:36:50-05:00 (commit #6dc9ed0)
Author: Timothy J. Warren (tim@timshomepage.net) / Commiter: Timothy J. Warren (tim@timshomepage.net)
Update copyright for the new year
-
2013-01-02T14:26:42-05:00 (commit #0e44bba)
Author: Timothy Warren (tim@timshomepage.net) / Commiter: Timothy Warren (tim@timshomepage.net)
Update year
-
2012-05-07T16:05:51-04:00 (commit #e4acfda)
Author: Timothy Warren (tim@timshomepage.net) / Commiter: Timothy Warren (tim@timshomepage.net)
Add list_types abstract method to db_sql class
-
2012-04-20T13:17:39-04:00 (commit #62a7eaf)
Author: Timothy Warren (tim@timshomepage.net) / Commiter: Timothy Warren (tim@timshomepage.net)
Add package docblock options