feat: implement database management service layer with MySQL driver and API controllers
This commit is contained in:
@@ -78,4 +78,9 @@ interface DatabaseDriverInterface
|
||||
* Perform batch update on a table.
|
||||
*/
|
||||
public function batchUpdate(string $table, array $changes): bool;
|
||||
|
||||
/**
|
||||
* Create a new database.
|
||||
*/
|
||||
public function createDatabase(string $name, string $charset = 'utf8mb4', string $collation = 'utf8mb4_unicode_ci'): bool;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user