From c512bfd162da1947e6d4a3e6826b7010213ef3ac Mon Sep 17 00:00:00 2001 From: Nilu Date: Mon, 23 Jan 2023 10:21:06 +0100 Subject: [PATCH 1/2] fix conflicts --- .../100-components/02-prisma-client/054-pagination.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/200-concepts/100-components/02-prisma-client/054-pagination.mdx b/content/200-concepts/100-components/02-prisma-client/054-pagination.mdx index e7293e3e27..985bab8b46 100644 --- a/content/200-concepts/100-components/02-prisma-client/054-pagination.mdx +++ b/content/200-concepts/100-components/02-prisma-client/054-pagination.mdx @@ -23,6 +23,12 @@ const results = await prisma.post.findMany({ ![](../../../doc-images/offset-skip-take.png) +Prisma Data Platform - Create project - Paste database connection string, select Data Proxy region, enable static IPs + To implement pages of results, you would just `skip` the number of pages multiplied by the number of results you show per page. ### ✔ Pros of offset pagination From e66464f1c1bae739352b08d9870b7c6a01763ce0 Mon Sep 17 00:00:00 2001 From: Nilu Date: Fri, 27 Jan 2023 12:10:20 +0100 Subject: [PATCH 2/2] test --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 98525c66c9..286d29bc95 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ npm install npm run dev ``` -## Run functions locally using vercel +## Run functions locally Run a local build to run the functions using the following command: