Skip to content

Commit e7b01a5

Browse files
authored
Merge pull request #70 from constructive-io/devin/1774128483-pagination-skill
docs: add pagination reference — offset vs cursor, nested relations
2 parents d6d9e9c + b4476ce commit e7b01a5

2 files changed

Lines changed: 450 additions & 2 deletions

File tree

.agents/skills/constructive-graphql/SKILL.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ const page2 = await db.user.findMany({
103103
}).execute().unwrap();
104104
```
105105

106-
See [codegen-orm-patterns.md](./references/codegen-orm-patterns.md) for pagination details.
106+
See [pagination.md](./references/pagination.md) for the full pagination reference — offset vs cursor, forward vs backward, nested relation paging, and usage across ORM, hooks, and runtime query builder.
107107

108108
## Quick Start: React Query Hooks
109109

@@ -162,7 +162,8 @@ See [search.md](./references/search.md) for the decision matrix and combined que
162162

163163
| Reference | Topic | Consult When |
164164
|-----------|-------|--------------|
165-
| [codegen-orm-patterns.md](./references/codegen-orm-patterns.md) | ORM query patterns | Using `findMany`, `findOne`, `create`, `update`, `delete`, pagination |
165+
| [codegen-orm-patterns.md](./references/codegen-orm-patterns.md) | ORM query patterns | Using `findMany`, `findOne`, `create`, `update`, `delete` |
166+
| [pagination.md](./references/pagination.md) | Pagination reference | Offset vs cursor, forward/backward paging, infinite scroll, nested relation pagination |
166167
| [codegen-orm-output.md](./references/codegen-orm-output.md) | ORM generated output structure | Understanding what codegen produces |
167168
| [codegen-hooks-patterns.md](./references/codegen-hooks-patterns.md) | React Query hook patterns | Using generated hooks in React components |
168169
| [codegen-hooks-output.md](./references/codegen-hooks-output.md) | Hooks generated output structure | Understanding hook file structure |

0 commit comments

Comments
 (0)