{"repo":"sandrewTx08/prisma-paginate","free":true,"listed":false,"github":"https://github.com/sandrewTx08/prisma-paginate","clone":"git clone https://github.com/sandrewTx08/prisma-paginate.git","description":"Paginate ORM Prisma","language":"TypeScript","stars":147,"topics":["orm","pagination","prisma","typescript"],"license":null,"category":"databases-storage","readme_excerpt":"📖 prisma-paginate -------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 🚀 Installation 📋 Version compatibility Prisma prisma-paginate -------- --------------- 7.0.0 = 6.0.0 4.16.0 Note: The extension works seamlessly with any Prisma client instance, regardless of the import path. No additional configuration needed! 🔧 Usage Basic Setup Complete Example Raw SQL Queries For complex queries using raw SQL, you can still leverage the pagination utilities: 📋 API Reference Method Signatures Parameters findManyArgs (Object) Standard Prisma findMany arguments including: - where - Filter conditions - select - Fields to select - include - Relations to include - orderBy - Sorting options - And all other Prisma query options paginationArgs (Object) Pagination configuration: - page (Number) - Page number (starts from 1) - limit (Number) - Number of items per page - onCount? (Function) - Optional callback: (pagination: Pagination) = void Return Value The paginate() method returns a Promise with the following properties: Property Type Description ----","default_branch":null,"files":null,"tree":[],"storefront":"/r/sandrewTx08","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sandrewTx08/prisma-paginate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}