sommeeeR
Explore posts from serversPPrisma
•Created by sommeeeR on 4/26/2024 in #help-and-questions
anyway i can have the _sum in this findMany()
Anyway I can have the _sum in findMany() or should i use typescript to get the sum?
2 replies
PPrisma
•Created by sommeeeR on 4/12/2024 in #help-and-questions
Returning the next day closest to NOW
So I have a list of dates, and im trying to return the next date that is closest to
new Date.now();
Here is the code:
This doesnt work it returns :
This is my entire courseDate
array: https://bpa.st/NK6Q - as you can see there the closest date from now(2024-04-12T06:04:45.733Z
) should be the courseDate
with id: 21
.
Anyone know what it might be ? 🙂2 replies
PPrisma
•Created by sommeeeR on 4/11/2024 in #help-and-questions
Get the next date with prisma
guys i want to get next
courseDate
from today and only that one. how can i do that using this query? 🙂10 replies