(c *gin.Context)
| 76 | } |
| 77 | |
| 78 | func getCurrentProject(c *gin.Context) *model.Project { |
| 79 | return c.MustGet("project").(*model.Project) |
| 80 | } |
| 81 | |
| 82 | func getDatabaseProfile(dbID proto.DatabaseID) (profile *types.SQLChainProfile, err error) { |
| 83 | req := &types.QuerySQLChainProfileReq{ |
no test coverage detected