mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-21 19:03:08 +00:00
Create weakestPokemonAbleToBeatFireRedAlone.gql
This commit is contained in:
parent
353f8e0fd6
commit
fabc77d7df
1 changed files with 32 additions and 0 deletions
32
graphql/examples/weakestPokemonAbleToBeatFireRedAlone.gql
Normal file
32
graphql/examples/weakestPokemonAbleToBeatFireRedAlone.gql
Normal file
|
@ -0,0 +1,32 @@
|
|||
query weakestPokemonAbleToBeatFireRedAlone {
|
||||
pokemon: pokemon_v2_pokemon(
|
||||
where: {
|
||||
_and: {
|
||||
pokemon_v2_pokemonspecy: {pokemon_v2_generation: {name: {_eq: "generation-i"}}}
|
||||
pokemon_v2_pokemonmoves: {
|
||||
pokemon_v2_move: {name: {_eq: "strength"}}
|
||||
},
|
||||
_and: {
|
||||
pokemon_v2_pokemonmoves: {
|
||||
pokemon_v2_move: {name: {_eq: "cut"}}
|
||||
}
|
||||
_and: {
|
||||
pokemon_v2_pokemonmoves: {
|
||||
pokemon_v2_move: {name: {_eq: "surf"}}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
order_by:{
|
||||
base_experience: asc
|
||||
},
|
||||
limit: 1
|
||||
) {
|
||||
species: pokemon_v2_pokemonspecy {
|
||||
englishName: pokemon_v2_pokemonspeciesnames(where: {pokemon_v2_language: {name: {_eq: "en"}}}) {
|
||||
name
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue