Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- # The first 2 films, after a given cursor value
- allFilms(first: 2, after: "YXJyYXljb25uZWN0aW9uOjA=") {
- # An edge is an entry in a "list"
- edges {
- # Get a cursor value for each "edge"
- # Used for pagination, in combination with filters like
- # before and after.
- cursor
- # Each edge has a node, where the node has
- # the data we're interested in
- node {
- # Film title, release date, and director
- title
- releaseDate
- director
- # The first 2 species that appeared in this film
- speciesConnection(first: 2) {
- edges {
- node {
- # The name of the species
- name
- }
- }
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment