We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a65536b commit 1d68dc3Copy full SHA for 1d68dc3
src/pages/notes/index.astro
@@ -3,6 +3,7 @@ import { db, Note } from "astro:db";
3
const notes = await db.select().from(Note).orderBy(desc(Note.published));
4
import BaseLayout from "../../layouts/BaseLayout.astro";
5
import Link from "../../components/Link.astro";
6
+import { desc } from "astro:db";
7
---
8
9
<BaseLayout title="notes!" description="Yusuf's note hub">
0 commit comments