Run EXPLAIN ANALYZE for queries

This commit is contained in:
Dan Sosedoff 2014-10-16 16:58:12 -05:00
parent 0a6bb31160
commit 289e844c4a

2
api.go
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) {