paginated() — drizzle-orm Function Reference
Architecture documentation for the paginated() function in select.ts from the drizzle-orm codebase.
Entity Profile
Dependency Diagram
graph TD 5c0aa3d2_3c70_b7ce_625d_fb9618293f33["paginated()"] 52f8175a_fb01_d591_49b7_deb1e5fb5fdc["select.ts"] 5c0aa3d2_3c70_b7ce_625d_fb9618293f33 -->|defined in| 52f8175a_fb01_d591_49b7_deb1e5fb5fdc style 5c0aa3d2_3c70_b7ce_625d_fb9618293f33 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
drizzle-orm/type-tests/geldb/select.ts lines 1025–1027
function paginated<T extends GelSelect>(qb: T, page: number) {
return qb.limit(10).offset((page - 1) * 10);
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does paginated() do?
paginated() is a function in the drizzle-orm codebase, defined in drizzle-orm/type-tests/geldb/select.ts.
Where is paginated() defined?
paginated() is defined in drizzle-orm/type-tests/geldb/select.ts at line 1025.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free