Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

graphql return x item

query {
  allPeople(first:3) { # Return the first 3 items
    people {
      id
      name
      homeworld {
        id
        name
      }
    }
  }
}
Source by www.apollographql.com #
 
PREVIOUS NEXT
Tagged: #graphql #return #item
ADD COMMENT
Topic
Name
3+3 =