mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	feat: execute selected query
This commit is contained in:
		| @@ -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(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user