grafana/pkg/services/queryhistory
Ivana Huckova 636a45f065
Query history: Create API to patch comment of query in query history (#44981)
* Query history: Patch comment

* Update docs/sources/http_api/query_history.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Update docs/sources/http_api/query_history.md

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

* Remove redundant check

* Use WithTransactionalDbSession to update comment

* Fix status code in test

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-02-15 15:43:17 +01:00
..
api.go Query history: Create API to patch comment of query in query history (#44981) 2022-02-15 15:43:17 +01:00
database.go Query history: Create API to patch comment of query in query history (#44981) 2022-02-15 15:43:17 +01:00
models.go Query history: Create API to patch comment of query in query history (#44981) 2022-02-15 15:43:17 +01:00
queryhistory_create_test.go Query history: Create API to delete query from query history (#44653) 2022-02-04 16:14:36 +01:00
queryhistory_delete_test.go Query history: Create API to patch comment of query in query history (#44981) 2022-02-15 15:43:17 +01:00
queryhistory_patch_test.go Query history: Create API to patch comment of query in query history (#44981) 2022-02-15 15:43:17 +01:00
queryhistory_test.go Security: Sync security changes on main (#45083) 2022-02-09 13:44:38 +01:00
queryhistory.go Query history: Create API to patch comment of query in query history (#44981) 2022-02-15 15:43:17 +01:00