The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. 🇧🇩 Bangladesh
Public

16
26
16
26
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Cities

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
20
21
22
query allCities {
      cities (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          country
          countryCode
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          muniSub
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "cities": {
      "results": [
        {
          "ACL": null,
          "adminCode": "83",
          "cityId": 1185107,
          "country": "Bangladesh",
          "countryCode": "BD",
          "createdAt": "2019-12-12T18:53:27.261Z",
          "featureCode": "PPL",
          "id": "Vs3CuhFc0h",
          "location": {
            "latitude": 25.00146,
            "longitude": 89.32266
          },
          "muni": "501094",
          "muniSub": "50109479",
          "name": "Shibganj",
          "population": 378701,
          "updatedAt": "2019-12-12T18:53:27.261Z"
        },
        {
          "ACL": null,
          "adminCode": "83",
          "cityId": 1185108,
          "country": "Bangladesh",
          "countryCode": "BD",
          "createdAt": "2019-12-12T18:53:27.261Z",
          "featureCode": "PPL",
          "id": "vXtHB6P5ez",
          "location": {
            "latitude": 24.68501,
            "longitude": 88.15638
          },
          "muni": "507088",
          "muniSub": "50708829",
          "name": "Shibganj",
          "population": 35961,
          "updatedAt": "2019-12-12T18:53:27.261Z"
        },
        {
          "ACL": null,
          "adminCode": "85",
          "cityId": 1185138,
          "country": "Bangladesh",
          "countryCode": "BD",
          "createdAt": "2019-12-12T18:53:27.261Z",
          "featureCode": "PPL",
          "id": "sl61sePROm",
          "location": {
            "latitude": 22.57965,
            "longitude": 89.97521
          },
          "muni": "107980",
          "muniSub": "10798000",
          "name": "Pirojpur",
          "population": 54418,
          "updatedAt": "2019-12-12T18:53:27.261Z"
        }
      ]
    }
  }
}