import Image from "next/image"; import { db, users } from "@/db"; async function getUsers() { return await db.select().from(users); } export default async function Home() { const users = await getUsers(); return (
Next.js logo

To get started, edit the page.tsx file.

Looking for a starting point or more instructions? Head over to{" "} Templates {" "} or the{" "} Learning {" "} center.

Vercel logomark Deploy Now
{JSON.stringify(users, null, 2)}
Documentation
); }