waii-sdk-js
Advanced tools
Comparing version 1.7.8 to 1.7.9
@@ -63,2 +63,4 @@ import { SearchContext, TableName, Column, SchemaName } from "../../database/src/Database"; | ||
query_id?: string; | ||
error_details?: object; | ||
detected_schemas?: string[]; | ||
}; | ||
@@ -65,0 +67,0 @@ type GetQueryResultRequest = { |
{ | ||
"name": "waii-sdk-js", | ||
"version": "1.7.8", | ||
"version": "1.7.9", | ||
"description": "Typescript / Javascript SDK for the waii api. SQL generation and much more.", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/waii-sdk.js", |
@@ -247,2 +247,8 @@ # WAII SDK Documentation for TypeScript and JavaScript | ||
- `query_id` (optional): A string representing the unique identifier of the executed query. This id is to be used in the "Get Query Results" call. | ||
- `error_details` (optional): An object containing the error details if the query failed. The object may contain the following error code: | ||
- `0` (optional): Compilation failed, but no extra information is available. | ||
- `1` (optional): Found a table that can’t be mapped to any of the schemas within the database. A list of table also present which can’t be mapped to any of the present schema. | ||
- `2` (optional): Found unqualified tables that can’t be mapped to any single schema. | ||
- `3` (optional): Found that more than one schema contain all the unqualified tables. Schema selection is required. | ||
- `detected_schemas`: An array of string representing the schemas which are qualified for the query. Schema selection is required. | ||
@@ -249,0 +255,0 @@ ### Getting Query Results <a name="getting-query-results"></a> |
118276
1242
743