mirror of
https://github.com/Fabio286/antares.git
synced 2025-04-27 08:18:43 +02:00
feat: execute selected query
This commit is contained in:
parent
cb038b374a
commit
78902639eb
@ -294,6 +294,10 @@ watch(selectedSchema, () => {
|
||||
const runQuery = async (query: string) => {
|
||||
if (!query || isQuering.value) return;
|
||||
isQuering.value = true;
|
||||
|
||||
const selectedQuery = queryEditor.value.editor.getSelectedText();
|
||||
if (selectedQuery) query = selectedQuery;
|
||||
|
||||
clearTabData();
|
||||
queryTable.value.resetSort();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user