sql
Type: Plugin
Run queries against sqlite, mysql, and postgres databases
| Argument | Type | Description |
|---|---|---|
driver |
string (required) | sqlite, mysql,or postgres |
connstring |
string | SQL Connection String |
file |
accessors.OSPath | Required if using sqlite driver |
accessor |
string | The accessor to use if using sqlite |
query |
string (required) | |
args |
Any |
Required permissions: FILESYSTEM_READ, NETWORK
Platforms: macOS, Linux, Windows
Source: vql/parsers/sql/sql.go