Query\Drivers\Sqlite\Util
SQLite-specific backup, import and creation methods
Synopsis
class Util
extends AbstractUtil
{
- // methods
- public string backupData()
- public string backupStructure()
- // 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
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
32 - 97 | CamelCaseVariableName | The variable $_ is not named in camelCase. |
77 | UnusedLocalVariable | Avoid unused local variables such as '$_'. |
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