nandemo-ya/SQL Execution Action
An action to easily execute SQL queries in the workflow
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| command | The command to run the query. e.g. write or read. | yes | — |
| engine | The relation database engine name, e.g. sqlite3(default), mysql, postgres, mssql, and duckdb. | no | sqlite3 |
| datasource | The datasource string of the relational database. e.g. /path/to/sqlite.db, user:password@tcp(localhost:3306)/dbname | yes | — |
| sql-file | The SQL config string in YAML format. | no | — |
| sql | The path of SQL config string file. | no | — |
Outputs
| name | description |
|---|---|
| query-result | JSON array of query results. |