Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prisma-extension-pagination

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prisma-extension-pagination - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

2

dist/page-number.js

@@ -24,3 +24,3 @@ "use strict";

skip: (page - 1) * (limit !== null && limit !== void 0 ? limit : 0),
take: limit,
take: limit === null ? undefined : limit,
})),

@@ -27,0 +27,0 @@ model.count(Object.assign(Object.assign(Object.assign({}, query), helpers_1.resetSelection), helpers_1.resetOrdering)),

{
"name": "prisma-extension-pagination",
"version": "0.7.0",
"version": "0.7.1",
"description": "Prisma Client extension for pagination",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -117,3 +117,3 @@ # Prisma Pagination Extension

```ts
const [users, meta] = prisma.user
const [users, meta] = await prisma.user
.paginate({

@@ -141,3 +141,3 @@ select: {

```ts
const [users, meta] = prisma.user
const [users, meta] = await prisma.user
.paginate()

@@ -162,3 +162,3 @@ .withPages({

```ts
const [users, meta] = prisma.user
const [users, meta] = await prisma.user
.paginate()

@@ -197,3 +197,3 @@ .withPages({

```ts
const [users, meta] = prisma.user
const [users, meta] = await prisma.user
.paginate({

@@ -220,3 +220,3 @@ select: {

```ts
const [users, meta] = prisma.user
const [users, meta] = await prisma.user
.paginate()

@@ -240,3 +240,3 @@ .withCursor({

```ts
const [users, meta] = prisma.user
const [users, meta] = await prisma.user
.paginate()

@@ -243,0 +243,0 @@ .withCursor({

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc