Method
Runs a read-only query in the specified database connector. This API is specifically designed for DataLLM
| REQUIRED |
KEY |
TYPE |
DESCRIPTION |
| Yes |
databaseConnectorId |
str |
A unique string identifier for the database connector.
|
| Yes |
query |
str |
The query to be run in the database connector (must be read-only).
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.
| KEY |
TYPE |
DESCRIPTION |
| success |
Boolean |
true if the call succeeded, false if there was an error |
| type |
|
|
| description |
|
|
| TYPE |
WHEN |
| DataNotFoundError |
`databaseConnectorId` is not found. |
| InvalidRequest |
If the query is not read-only or if access control validation fails. |