public function SchemaTestDatabaseConnection::driver in Schema 7
Same name and namespace in other branches
- 8 tests/schema_test/SchemaTestDatabaseConnection.php \SchemaTestDatabaseConnection::driver()
Returns the type of database driver.
This is not necessarily the same as the type of the database itself. For instance, there could be two MySQL drivers, mysql and mysql_mock. This function would return different values for each, but both would return "mysql" for databaseType().
Overrides DatabaseConnection::driver
File
- tests/
schema_test/ SchemaTestDatabaseConnection.php, line 22 - Defines SchemaTestDatabaseConnection.
Class
- SchemaTestDatabaseConnection
- @file Defines SchemaTestDatabaseConnection.
Code
public function driver() {
return 'schema_test';
}