Prisma · Arazzo Workflow
Prisma Client List and Count Records
Version 1.0.0
Count records matching a filter, then fetch the first page of matching records ordered and paginated.
Provider
Workflows
list-and-count-records
Count records matching a filter and then list the first page of matches.
Counts records matching a filter, then lists the first page of matching records ordered and limited by a take value.
1
countRecords
count
Count how many records match the supplied filter so pagination can be sized before fetching any rows.
2
listRecords
findMany
Fetch the first page of records matching the same filter, ordered and limited by the supplied take value.