what’s the best way to reset data with Prisma? I’m...
# prisma-whats-new
r
what’s the best way to reset data with Prisma? I’m trying to get rid of all the
Posts
I’ve created but when I run
prisma reset
I can still see the data when I query
Copy code
{
  posts {
    id
  }
}
h
deletemany for example
r
what’s deletemany?
got it, now I just do
Copy code
deleteManyPosts(
    where:{
      id_not: "id"
		}
  ) {
    count
  }
}
👍 1