|
Squiz Matrix
4.12.2
|
Public Member Functions | |
| __construct ($pluginName) | |
| connect ($dsn) | |
| getDbName () | |
| getDbType () | |
| getDbVersion () | |
| disconnect () | |
| execute ($sql) | |
| getQueryExecutionTime () | |
| getTableNames () | |
| getColumnNames ($table) | |
| matchesMacro ($s) | |
DbBackend - wrapper for backend plugins.
Definition at line 1925 of file matrixsqlclient.php.
| __construct | ( | $pluginName | ) |
Constructor
| string | $pluginName | name of the db backend plugin to use |
Definition at line 1942 of file matrixsqlclient.php.
| connect | ( | $dsn | ) |
Calls plugin to disconnect and reconnect to specified backend.
| string | $dsn | plugin's backend to connect to |
Definition at line 1966 of file matrixsqlclient.php.
| disconnect | ( | ) |
Calls plugin to disconnect from backend.
Definition at line 2007 of file matrixsqlclient.php.
| execute | ( | $sql | ) |
Calls plugin to execute specified query.
| string | $sql | the SQL to run |
Definition at line 2019 of file matrixsqlclient.php.
| getColumnNames | ( | $table | ) |
Call plugin to get a list of the columns on the specified table.
| string | $table | Name of the table. |
Definition at line 2057 of file matrixsqlclient.php.
| getDbName | ( | ) |
Calls plugin to return a friendly name/identifier for the connected backend.
Definition at line 1977 of file matrixsqlclient.php.
| getDbType | ( | ) |
Calls plugin to return the database type.
Definition at line 1987 of file matrixsqlclient.php.
| getDbVersion | ( | ) |
Calls plugin to return a version identifier for the database backend
Definition at line 1997 of file matrixsqlclient.php.
| getQueryExecutionTime | ( | ) |
Returns the execution time of the last query.
Definition at line 2035 of file matrixsqlclient.php.
| getTableNames | ( | ) |
Call plugin to get a list of the available tables on the current database.
Definition at line 2045 of file matrixsqlclient.php.
| matchesMacro | ( | $s | ) |
Checks to see if the current line matches an internal command/macro.
| string | $s | Command |
Definition at line 2069 of file matrixsqlclient.php.