Guest User

Untitled

a guest
Nov 16th, 2018
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. {
  2. # The first 2 films, after a given cursor value
  3. allFilms(first: 2, after: "YXJyYXljb25uZWN0aW9uOjA=") {
  4.  
  5. # An edge is an entry in a "list"
  6. edges {
  7.  
  8. # Get a cursor value for each "edge"
  9. # Used for pagination, in combination with filters like
  10. # before and after.
  11. cursor
  12.  
  13. # Each edge has a node, where the node has
  14. # the data we're interested in
  15. node {
  16. # Film title, release date, and director
  17. title
  18. releaseDate
  19. director
  20.  
  21. # The first 2 species that appeared in this film
  22. speciesConnection(first: 2) {
  23. edges {
  24. node {
  25. # The name of the species
  26. name
  27. }
  28. }
  29. }
  30. }
  31. }
  32. }
  33. }
Add Comment
Please, Sign In to add comment