Skip to content

Commit e90887d

Browse files
committed
pref: Add SQL key
1 parent a261cde commit e90887d

4 files changed

Lines changed: 7 additions & 6 deletions

File tree

chat2db-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"highlight.js": "^11.9.0",
3939
"lodash": "^4.17.21",
4040
"markdown-it-link-attributes": "^4.0.1",
41-
"monaco-editor": "^0.34.0",
41+
"monaco-editor": "^0.44.0",
4242
"monaco-editor-esm-webpack-plugin": "^2.1.0",
4343
"monaco-editor-webpack-plugin": "^7.0.1",
4444
"node-machine-id": "^1.1.12",

chat2db-client/src/components/Console/MonacoEditor/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function MonacoEditor(props: IProps, ref: ForwardedRef<IExportRefFunction>) {
6969
...editorDefaultOptions,
7070
...options,
7171
value: defaultValue || '',
72-
language: language,
72+
language,
7373
theme: appTheme.backgroundColor,
7474
});
7575
editorRef.current = editorIns;

chat2db-client/src/constants/IntelliSense/mysql.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ export default {
222222
'SQL_BIG_RESULT',
223223
'SQL_CALC_FOUND_ROWS',
224224
'SQL_SMALL_RESULT',
225+
'SQL_NO_CACHE',
225226
'SSL',
226227
'STARTING',
227228
'STORED',

chat2db-client/yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7601,10 +7601,10 @@ monaco-editor-webpack-plugin@^7.0.1:
76017601
dependencies:
76027602
loader-utils "^2.0.2"
76037603

7604-
monaco-editor@^0.34.0:
7605-
version "0.34.1"
7606-
resolved "https://registry.npmmirror.com/monaco-editor/-/monaco-editor-0.34.1.tgz#1b75c4ad6bc4c1f9da656d740d98e0b850a22f87"
7607-
integrity sha512-FKc80TyiMaruhJKKPz5SpJPIjL+dflGvz4CpuThaPMc94AyN7SeC9HQ8hrvaxX7EyHdJcUY5i4D0gNyJj1vSZQ==
7604+
monaco-editor@^0.44.0:
7605+
version "0.44.0"
7606+
resolved "https://registry.npmmirror.com/monaco-editor/-/monaco-editor-0.44.0.tgz#3c0fe3655923bbf7dd647057302070b5095b6c59"
7607+
integrity sha512-5SmjNStN6bSuSE5WPT2ZV+iYn1/yI9sd4Igtk23ChvqB7kDk9lZbB9F5frsuvpB+2njdIeGGFf2G4gbE6rCC9Q==
76087608

76097609
moo@^0.5.0:
76107610
version "0.5.2"

0 commit comments

Comments
 (0)