Variable moonpieLeaderboardViewConst

moonpieLeaderboardView: Readonly<SqliteView<"moonpieCount" | "rank" | "twitchId" | "twitchName">> = ...

The SQLite view for moonpie counts over the moonpie table. This view exists so the current rank across all entries can be provided as well as a leaderboard. The view can be used just like a normal table but is read only and improves performance by a lot since sorting the table is not necessary any more.

Generated using TypeDoc