mirror of
https://github.com/graphql-python/graphene.git
synced 2025-06-29 18:03:09 +03:00
Updated Relay Pagination example (markdown)
parent
28ab85d0eb
commit
3bcce5a4e7
|
@ -15,12 +15,12 @@ In a nutshell, `pagination` is implemented via graphene relay's `Connection` and
|
|||
|
||||
In addition to a `cursor` element within `edges` that will show you the cursor id for each element, like so:
|
||||
```graphql
|
||||
edges {
|
||||
edges {
|
||||
cursor
|
||||
node {
|
||||
<whatever>
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
The basic implementation below provides the elements for cursor-based pagination that you'll need to do your thing in your code. Hope this helps.
|
||||
|
|
Loading…
Reference in New Issue
Block a user