stadtluzernio / stadtluzernio.budibase / 1.0.6 / module / execute_a_query Returns the value of a query in Budibase. | "added in version" 1.0.1 of stadtluzernio.budibase" Authors: Stadt Luzern, Zentrale Informatikdienstestadtluzernio.budibase.execute_a_query (1.0.6) — module
Install with ansible-galaxy collection install stadtluzernio.budibase:==1.0.6
collections: - name: stadtluzernio.budibase version: 1.0.6
Get the value a single query given its name.
You may provide a section label to limit the search to that query section.
--- - name: Get all rows from query inventory in stadtluzernio app with status published stadtluzernio.budibase.execute_a_query: hostname: BUDIBASE_HOST token: BUDIBASE_TOKEN app: BUDIBASE_APP query: BUDIBASE_QUERY status: published
app: description: The name of the app which this request is targeting. required: true type: str query: description: The name of the query which this request is targeting. required: true type: str token: description: - Token to authenticate Budibase. - Ansible should never log or display this value. type: str status: choices: - published - development default: published description: App status published / development type: str hostname: description: - Budibase Hostname (FQDN). type: str conditions: description: Use query conditions suboptions: pagination: description: For supported query types (currently on REST) pagination can be performed using these properties. suboptions: limit: description: The number of rows to return per page. type: int page: description: The page which has been returned from a previous query. type: str type: dict parameters: description: This contains the required parameters for the query, this depends on query type, setup and bindings. type: dict type: dict validate_certs: default: true description: If false, SSL certificates will not be validated type: bool
json: 'contains:': app_info: description: App info (_id, name, status, ...) returned: success type: dict content: description: Content from selectet rows elements: dict returned: success type: list query_info: description: Query info (_id, name, schema, ...) type: dict description: App info, query info and content from selectet row returned: always type: dict