import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()
async function main() {
  const users = await prisma.user.findMany({ select: { email: true }, take: 3 })
  console.log('Users:', JSON.stringify(users))
  const notes = await prisma.note.findMany({ where: { reminder: { not: null } }, select: { id: true, title: true, reminder: true, isReminderDone: true }, take: 5 })
  console.log('Notes avec rappels:', JSON.stringify(notes, null, 2))
}
main().catch(console.error).finally(() => prisma.$disconnect())
