feat: implement MySQL database driver and API service for schema management and data operations
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user