feat(ui/explorer): add EXPLAIN meta query template

pull/5687/head
Pavel Zavora 2021-03-05 15:59:55 +01:00
parent f339d71826
commit e2222b0df0
1 changed files with 10 additions and 0 deletions

View File

@ -243,6 +243,16 @@ export const METAQUERY_TEMPLATE_OPTIONS: Array<
id: `mqtd-divider-7`,
type: DropdownChildTypes.Divider,
},
{
id: 'Explain',
text: 'Explain',
query: 'EXPLAIN SELECT * FROM "db_name"."rp_name"."measurement"',
type: DropdownChildTypes.Item,
},
{
id: `mqtd-divider-8`,
type: DropdownChildTypes.Divider,
},
{
id: 'Show Stats',
text: 'Show Stats',