Proof-Of-Chaos / website

https://proofofchaos.app
MIT License
2 stars 2 forks source link

indexer: make referendaStats table available for `where` queries #38

Open niklasp opened 2 years ago

niklasp commented 2 years ago

currently it is only possible to get the whole table, no filters allowed. that is getting more and more data and a huge overload for e.g. single referendum view.

gabrieljaegerde commented 2 years ago

There is also the referendumStats table for data on a single referendum but I am not sure it exactly what you need (since these functions were built with the dashboard in mind).

Let me know if the referendumStats table has all the data you need. Otherwise we should indeed add some filters to the referendaStats table.