```

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.
2 Replies
Mark_who?
Mark_who?OP8mo ago
Nevermind, Next default caching is ridiculous. Can't believe how silly this was.
Servesh
Servesh8mo ago
Please update how Next 15 behaves when u can
Want results from more Discord servers?
Add your server