mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-28 16:09:17 +00:00
feat(elasticsearch): support REST queries in SQL editor (#132)
Execute GET/POST/PUT/DELETE queries like Kibana Dev Tools. Search results are displayed as table rows with _id + _source fields. Also hide database selector for Elasticsearch connections.
This commit is contained in:
@@ -181,7 +181,7 @@ function databaseDisplayName(database: string): string {
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
<div class="flex items-center gap-1">
|
||||
<div v-if="activeConnection?.db_type !== 'elasticsearch'" class="flex items-center gap-1">
|
||||
<Database class="h-3.5 w-3.5 shrink-0" />
|
||||
<Select
|
||||
:model-value="activeDatabaseValue"
|
||||
|
||||
Reference in New Issue
Block a user