Sql
Handles the POST request to execute an SQL query.
This method is mapped to the POST route "/query". It processes an incoming SQL query request, applying the necessary headers for response handling. The function does not return any output or perform any visible action since its functionality is not provided in the code.
Args: request (SQLQueryRequest): The SQL query request object containing the details of the query to be executed. headers (ExposedDefaultHeaders): The headers to be applied, which may include information for response management.
Returns: The result of the SQL Query.
The SQL query request.
Response fields are not supported for this request, use appropriate SQL query to get the desired fields.
The SQL query to be executed.
Variables to be passed to the query. Defaults to None.
Successful Response
Validation Error
Last updated