feat: implement MySQL driver for database management, schema discovery, and CRUD operations
This commit is contained in:
@@ -139,6 +139,16 @@ class DatabaseService
|
||||
return $this->getDriver()->truncateTable($table);
|
||||
}
|
||||
|
||||
public function dropTable(string $table): bool
|
||||
{
|
||||
return $this->getDriver()->dropTable($table);
|
||||
}
|
||||
|
||||
public function optimizeTable(string $table): bool
|
||||
{
|
||||
return $this->getDriver()->optimizeTable($table);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get metadata for all tables in a database.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user