This GraphQL query fetches All THS
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
query allTHS { tHS (skip: 0, limit: 3) { results { ACL accuracy adminCode1 adminCode2 adminCode3 adminName1 adminName2 adminName3 countryCode createdAt geoPosition { latitude longitude } id placeName postalCode updatedAt } } }
{ "data": { "tHS": { "results": [ { "ACL": null, "accuracy": "4", "adminCode1": "10", "adminCode2": "", "adminCode3": "", "adminName1": "Bangkok", "adminName2": "", "adminName3": "", "countryCode": "TH", "createdAt": "2020-02-21T13:06:49.219Z", "geoPosition": { "latitude": 14.3333, "longitude": 99.9167 }, "id": "gFadD5L0aB", "placeName": "Lat Phrao", "postalCode": "10230", "updatedAt": "2020-02-21T13:06:49.219Z" }, { "ACL": null, "accuracy": "4", "adminCode1": "10", "adminCode2": "", "adminCode3": "", "adminName1": "Bangkok", "adminName2": "", "adminName3": "", "countryCode": "TH", "createdAt": "2020-02-21T13:06:49.219Z", "geoPosition": { "latitude": 13.7667, "longitude": 100.45 }, "id": "8iivGbYZSd", "placeName": "Taling Chan", "postalCode": "10170", "updatedAt": "2020-02-21T13:06:49.219Z" }, { "ACL": null, "accuracy": "", "adminCode1": "10", "adminCode2": "", "adminCode3": "", "adminName1": "Bangkok", "adminName2": "", "adminName3": "", "countryCode": "TH", "createdAt": "2020-02-21T13:06:49.218Z", "geoPosition": { "latitude": 13.7083, "longitude": 100.4562 }, "id": "NEwA4wGic4", "placeName": "Yannawa", "postalCode": "10120", "updatedAt": "2020-02-21T13:06:49.218Z" } ] } } }