diff --git a/content/200-concepts/300-more/400-comparisons/02-prisma-and-sequelize.mdx b/content/200-concepts/300-more/400-comparisons/02-prisma-and-sequelize.mdx index 4ce0f69a0b..009282a756 100644 --- a/content/200-concepts/300-more/400-comparisons/02-prisma-and-sequelize.mdx +++ b/content/200-concepts/300-more/400-comparisons/02-prisma-and-sequelize.mdx @@ -186,7 +186,7 @@ Sequelize [doesn't offer a dedicated API for relation filters](https://github.co Cursor-style pagination: ```ts -const page = prisma.post.findMany({ +const page = await prisma.post.findMany({ before: { id: 242, }, @@ -197,7 +197,7 @@ const page = prisma.post.findMany({ Offset pagination: ```ts -const cc = prisma.post.findMany({ +const cc = await prisma.post.findMany({ skip: 200, first: 20, }) @@ -301,7 +301,7 @@ await User.update({ **Prisma** ```ts -const user = prisma.user.delete({ +const user = await prisma.user.delete({ where: { id: 10, },