bit.io - Execute Query
Overviewβ
Execute any SQL query against a bit.io database, without returning any of the resulting data. This Blueprint should primarily be used for queries that perform functionality other than SELECT, like multi-step SQL jobs, or DML statements.
Variablesβ
Name | Reference | Type | Required | Default | Options | Description |
---|---|---|---|---|---|---|
Password | BITIO_PASSWORD | Password | β | - | - | Password associated to your bit.io account. For more information, see the Authorization documentation. |
Database | BITIO_DATABASE | Alphanumeric | β | - | - | Name of the database to connect to. This is the same as your current repository name, which has the structure user_name/repo_name. |
Query | BITIO_QUERY | Alphanumeric | β | - | - | Any SQL query that runs a job against the database (CREATE, DROP, INSERT, etc.). Formatting is ignored. |
YAMLβ
Below is the YAML template for this Blueprint and can be used in the Fleet YAML Editor.
source:
blueprint: bit.io - Execute Query
inputs:
BITIO_PASSWORD: null ## REQUIRED
BITIO_DATABASE: null ## REQUIRED
BITIO_QUERY: null ## REQUIRED
type: BLUEPRINT
guardrails:
retry_count: 1
retry_wait: 0h0m0s
runtime_cutoff: 1h0m0s
exclude_exit_code_ranges:
- '0'