mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-28 14:20:23 +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
|
|
}
|
|
}
|
|
}
|
|
}
|