Skip to content

Commit

Permalink
Create weakestPokemonAbleToBeatFireRedAlone.gql
Browse files Browse the repository at this point in the history
  • Loading branch information
Naramsim authored Nov 26, 2021
1 parent 353f8e0 commit fabc77d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions graphql/examples/weakestPokemonAbleToBeatFireRedAlone.gql
Original file line number Diff line number Diff line change
@@ -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
}
}
}
}

0 comments on commit fabc77d

Please sign in to comment.