Skip to content

Commit a77600a

Browse files
committed
docs: add query
1 parent 3a103fc commit a77600a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# This query searches for pokemon having a german name like "Ento.*"
2+
# Should return Psyduck and Golduck
3+
4+
query searchForPokemonInGerman {
5+
pokemon_v2_pokemonspecies(
6+
where: {
7+
pokemon_v2_pokemonspeciesnames: {
8+
pokemon_v2_language: { name: { _eq: "de" } }
9+
name: { _regex: "Ento.*" }
10+
}
11+
}
12+
) {
13+
pokemon_v2_pokemonspeciesnames(
14+
where: { pokemon_v2_language: { name: { _eq: "de" } } }
15+
) {
16+
name
17+
}
18+
id
19+
}
20+
}

0 commit comments

Comments
 (0)