This GraphQL query fetches All Cities
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
query allCities { cities (skip: 0, limit: 3) { results { ACL code country { id } createdAt geonameid id name native state { id } updatedAt } } }
{ "data": { "cities": { "results": [ { "ACL": null, "code": "BR.06.2314102", "country": { "id": "bnEB9QdocE" }, "createdAt": "2020-05-06T20:07:51.786Z", "geonameid": "3385105", "id": "l4LIHcESjQ", "name": "Vicosa Do Ceara", "native": "Viçosa do Ceará", "state": { "id": "WFRWTnXhia" }, "updatedAt": "2020-05-06T20:07:51.786Z" }, { "ACL": null, "code": "BR.06.2314003", "country": { "id": "bnEB9QdocE" }, "createdAt": "2020-05-06T20:07:53.032Z", "geonameid": "3385462", "id": "Tky8Asu38p", "name": "Varzea Alegre", "native": "Várzea Alegre", "state": { "id": "WFRWTnXhia" }, "updatedAt": "2020-05-06T20:07:53.032Z" }, { "ACL": null, "code": "BR.06.2313708", "country": { "id": "bnEB9QdocE" }, "createdAt": "2020-05-06T20:07:54.332Z", "geonameid": "3385832", "id": "1M3HK1G7DP", "name": "Umari", "native": "Umari", "state": { "id": "WFRWTnXhia" }, "updatedAt": "2020-05-06T20:07:54.332Z" } ] } } }