grafana/pkg/services/librarypanels
Sofia Papagiannaki 89d3b55bec
Folders: Reduce DB queries when counting and deleting resources under folders (#81153)
* Add folder store method for fetching all folder descendants

* Modify GetDescendantCounts() to fetch folder descendants at once

* Reduce DB calls when counting library panels under dashboard

* Reduce DB calls when counting dashboards under folder

* Reduce DB calls during folder delete

* Modify folder registry to count/delete entities under multiple folders

* Reduce DB calls when counting

* Reduce DB calls when deleting
2024-01-30 18:26:34 +02:00
..
librarypanels_test.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
librarypanels.go Folders: Reduce DB queries when counting and deleting resources under folders (#81153) 2024-01-30 18:26:34 +02:00
models.go LibraryElements: Adds library elements api and tables (#33741) 2021-05-11 07:10:19 +02:00