mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 18:46:00 +00:00
support for distinct in query designer
This commit is contained in:
@@ -215,6 +215,22 @@
|
||||
{ divider: true },
|
||||
{ command: 'designer.undo' },
|
||||
{ command: 'designer.redo' },
|
||||
{ divider: true },
|
||||
{
|
||||
text: `Remove duplicates: ${$editorState.value?.settings?.isDistinct ? 'YES' : 'NO'}`,
|
||||
onClick: () => {
|
||||
handleChange(
|
||||
{
|
||||
...$editorState.value,
|
||||
settings: {
|
||||
...$editorState.value?.settings,
|
||||
isDistinct: !$editorState.value?.settings?.isDistinct,
|
||||
},
|
||||
},
|
||||
false
|
||||
);
|
||||
},
|
||||
},
|
||||
];
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user