Closed CallMeL closed 6 months ago
const photos = await db.photo.findMany({ where: { category: { title: 'ecarry' } }, orderBy: { createdAt: 'desc' } })
--->
const photos = await db.photo.findMany({ orderBy: { createdAt: 'desc' } })
You can clone the dev
branch. I made some modifications and updated the documentation.
git clone -b dev https://github.com/ECarry/photography-website-nextjs14-full-stack.git
Thanks! The dev branch and new readme file solve my problem perfectly!
Hi! Thanks for this brilliant work!
I followed the readme to set up the environment, but there is an error regarding the
prisma.photo.findMany()
, is there anything I should do in the planetscale dashboard?This is the whole terminal output:
Thank you! Looking forward to your reply.