mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-23 03:43:03 +00:00
23 lines
431 B
GraphQL
23 lines
431 B
GraphQL
query tallest {
|
|
pokemon: pokemon_v2_pokemon(order_by: {height: desc}, limit: 3, where: {is_default: {_eq: true}}) {
|
|
name
|
|
height
|
|
}
|
|
}
|
|
|
|
query fattest {
|
|
pokemon: pokemon_v2_pokemon(order_by: {weight: desc}, limit: 3, where: {is_default: {_eq: true}}) {
|
|
name
|
|
weight
|
|
}
|
|
}
|
|
|
|
query avgHappiness {
|
|
species: pokemon_v2_pokemonspecies_aggregate {
|
|
aggregate {
|
|
avg {
|
|
base_happiness
|
|
}
|
|
}
|
|
}
|
|
}
|