feat: implement MySQL driver and API schema services for database management
This commit is contained in:
@@ -33,4 +33,19 @@ interface DatabaseDriverInterface
|
||||
* Get the underlying connection instance.
|
||||
*/
|
||||
public function getConnection();
|
||||
|
||||
/**
|
||||
* Export the database.
|
||||
*/
|
||||
public function export(array $config): string;
|
||||
|
||||
/**
|
||||
* Import the database.
|
||||
*/
|
||||
public function import(array $config, string $filePath): bool;
|
||||
|
||||
/**
|
||||
* Get database metadata (charset, collation, size, etc.)
|
||||
*/
|
||||
public function getDatabaseMetadata(string $database): array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user