```const allUsers = await prisma.user.findMany({ ...
# orm-help
b
Copy code
const allUsers = await prisma.user.findMany({
    include: { 
      posts: true,
      limit: 10 // <--- Something like this
    },
  })
n
Hey Ben, Welcome to Prisma's Slack 👋 You are looking for take argument through which you can limit the number of records returned.
Copy code
const allUsers = await prisma.user.findMany({
    include: { 
      posts: true,
    },
    take:10
  })