Run EXPLAIN ANALYZE for queries

This commit is contained in:
Dan Sosedoff
2014-10-16 21:45:52 -05:00
parent 0a6bb31160
commit 289e844c4a
+1 -1
View File
@@ -64,7 +64,7 @@ func API_ExplainQuery(c *gin.Context) {
return return
} }
API_HandleQuery(fmt.Sprintf("EXPLAIN %s", query), c) API_HandleQuery(fmt.Sprintf("EXPLAIN ANALYZE %s", query), c)
} }
func API_GetTables(c *gin.Context) { func API_GetTables(c *gin.Context) {