mirror of
https://github.com/Fabio286/antares.git
synced 2025-04-03 13:01:32 +02:00
143 lines
3.2 KiB
JavaScript
143 lines
3.2 KiB
JavaScript
export const operators = (monaco) => {
|
|
return [{
|
|
label: 'ALL',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'ALL'
|
|
},
|
|
{
|
|
label: 'AND',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'AND'
|
|
},
|
|
{
|
|
label: 'ANY',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'ANY'
|
|
},
|
|
{
|
|
label: 'BETWEEN',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'BETWEEN'
|
|
},
|
|
{
|
|
label: 'EXISTS',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'EXISTS'
|
|
},
|
|
{
|
|
label: 'IN',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'IN'
|
|
},
|
|
{
|
|
label: 'LIKE',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'LIKE'
|
|
},
|
|
{
|
|
label: 'NOT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'NOT'
|
|
},
|
|
{
|
|
label: 'OR',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'OR'
|
|
},
|
|
{
|
|
label: 'SOME',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'SOME'
|
|
},
|
|
{
|
|
label: 'EXCEPT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'EXCEPT'
|
|
},
|
|
{
|
|
label: 'INTERSECT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'INTERSECT'
|
|
},
|
|
{
|
|
label: 'UNION',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'UNION'
|
|
},
|
|
{
|
|
label: 'APPLY',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'APPLY'
|
|
},
|
|
{
|
|
label: 'CROSS',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'CROSS'
|
|
},
|
|
{
|
|
label: 'FULL',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'FULL'
|
|
},
|
|
{
|
|
label: 'INNER',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'INNER'
|
|
},
|
|
{
|
|
label: 'JOIN',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'JOIN'
|
|
},
|
|
{
|
|
label: 'LEFT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'LEFT'
|
|
},
|
|
{
|
|
label: 'OUTER',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'OUTER'
|
|
},
|
|
{
|
|
label: 'RIGHT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'RIGHT'
|
|
},
|
|
{
|
|
label: 'CONTAINS',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'CONTAINS'
|
|
},
|
|
{
|
|
label: 'FREETEXT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'FREETEXT'
|
|
},
|
|
{
|
|
label: 'IS',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'IS'
|
|
},
|
|
{
|
|
label: 'NULL',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'NULL'
|
|
},
|
|
{
|
|
label: 'PIVOT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'PIVOT'
|
|
},
|
|
{
|
|
label: 'UNPIVOT',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'UNPIVOT'
|
|
},
|
|
{
|
|
label: 'MATCHED',
|
|
kind: monaco.languages.CompletionItemKind.Operator,
|
|
insertText: 'MATCHED'
|
|
}];
|
|
};
|