Mark_who?
Mark_who?
DTDrizzle Team
Created by Mark_who? on 5/25/2024 in #help
```
export async function getAllEvents(): Promise<SelectEvent[]> { const allEvents = await db.select().from(events).all(); console.log("Fetched events:", allEvents); return allEvents; } ``` I'm trying to get all events from turso DB, there are 3 in the DB, but I'm only getting the first db returned. This is a NextJS application and I don't know what's going on here.
3 replies