@questdb/sql-parser 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/autocomplete/content-assist.d.ts +4 -0
- package/dist/index.cjs +301 -175
- package/dist/index.js +301 -175
- package/dist/parser/parser.d.ts +6 -0
- package/dist/parser/visitor.d.ts +7 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -33,6 +33,10 @@ export interface ContentAssistResult {
|
|
|
33
33
|
* should resolve this against tablesInScope aliases/names to filter columns.
|
|
34
34
|
*/
|
|
35
35
|
qualifiedTableRef?: string;
|
|
36
|
+
/** Whether the grammar context expects column names (expression/columnRef positions) */
|
|
37
|
+
suggestColumns: boolean;
|
|
38
|
+
/** Whether the grammar context expects table names (tableName positions, or expression context) */
|
|
39
|
+
suggestTables: boolean;
|
|
36
40
|
}
|
|
37
41
|
/**
|
|
38
42
|
* Get content assist suggestions for a SQL string at a given cursor position
|