Add analyze table action (#737)

This commit is contained in:
Dan Sosedoff
2024-05-14 20:40:39 -07:00
committed by GitHub
parent cf86131808
commit 40f582d1ea
2 changed files with 7 additions and 0 deletions

View File

@@ -340,6 +340,12 @@ function performTableAction(table, action, el) {
case "copy":
copyToClipboard(table.split('.')[1]);
break;
case "analyze":
executeQuery("ANALYZE " + table, function(data) {
if (data.error) alert(data.error);
resetTable();
});
break;
}
}