feat: implement MySQL database driver and API service for schema management and data operations

This commit is contained in:
Ümit Tunç
2026-04-24 22:43:28 +03:00
parent 22ff72d39c
commit e75657d22a
6 changed files with 137 additions and 19 deletions
@@ -22,12 +22,12 @@ interface DatabaseDriverInterface
/**
* Get table data.
*/
public function getTableData(string $table, int $limit = 100, int $offset = 0): array;
public function getTableData(string $table, int $limit = 100, int $offset = 0, array $filters = []): array;
/**
* Get the count of rows in a table.
*/
public function getTableCount(string $table): int;
public function getTableCount(string $table, array $filters = []): int;
/**
* Get the underlying connection instance.