File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -148,10 +148,10 @@ async function getObjectCompletions(
148148 forSchema : string ,
149149 sqlTypes : { [ index : string ] : CompletionType }
150150) : Promise < CompletionItem [ ] > {
151- const schemaUpdate : boolean = changedCache . delete ( forSchema . toUpperCase ( ) ) ;
151+ forSchema = Statement . noQuotes ( Statement . delimName ( forSchema , true ) ) ;
152+ const schemaUpdate : boolean = changedCache . delete ( forSchema ) ;
152153 if ( ! completionItemCache . has ( forSchema ) || schemaUpdate ) {
153154 const promises = Object . entries ( sqlTypes ) . map ( async ( [ _ , value ] ) => {
154- forSchema = Statement . noQuotes ( Statement . delimName ( forSchema , true ) ) ;
155155 const data = await Database . getObjects ( forSchema , [ value . type ] ) ;
156156 return data . map ( ( table ) =>
157157 createCompletionItem (
You can’t perform that action at this time.
0 commit comments