feat: implement database schema discovery and data browser interface
This commit is contained in:
@@ -90,4 +90,12 @@ class DatabaseService
|
||||
{
|
||||
return $this->getDriver()->getTableCount($table);
|
||||
}
|
||||
|
||||
/**
|
||||
* Execute a raw SQL query.
|
||||
*/
|
||||
public function executeQuery(string $sql, array $bindings = []): array
|
||||
{
|
||||
return $this->getDriver()->query($sql, $bindings);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user