Add /explain endpoint

This commit is contained in:
Dan Sosedoff
2014-10-11 13:24:12 -05:00
parent d786919a36
commit e2bc79f686
2 changed files with 13 additions and 0 deletions

View File

@@ -72,6 +72,8 @@ func main() {
router.GET("/tables/:table/indexes", API_TableIndexes)
router.GET("/query", API_RunQuery)
router.POST("/query", API_RunQuery)
router.GET("/explain", API_ExplainQuery)
router.POST("/explain", API_ExplainQuery)
router.GET("/history", API_History)
router.Static("/app", options.Static)