Skip to contentOpen History to see the last commit
api.boards.ts
11 lines283 Bytes
1import { db } from "@/db"; 2import { boardsTable } from "@/db/schema"; 3import { type APIRouteHandler, json } from "./helpers"; 7 const results = await db.select().from(boardsTable); 11} satisfies APIRouteHandler;