orders stats

This commit is contained in:
@wwwjim 2020-12-03 00:58:52 -08:00
parent 5cd65b9b66
commit 9bf62c59e5

View File

@ -6,7 +6,9 @@ export default async () => {
return await runQuery({
label: "GET_ALL_STATS",
queryFn: async (DB) => {
const r = await DB.select("*").from("stats");
const r = await DB.select("*")
.from("stats")
.orderBy("created_at");
if (!r || r.error) {
return [];