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

  1. Back4App
  2. USA Cities by State
Public

87
249
87
249
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All NCS

This GraphQL query fetches All NCS


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 allNCS {
      nCS (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          containingState {
            id
          }
          country
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          muni
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "nCS": {
      "results": [
        {
          "ACL": null,
          "adminCode": "NC",
          "cityId": 4452303,
          "containingState": {
            "id": "UhySVNB0Sr"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:42:59.707Z",
          "featureCode": "PPLA2",
          "id": "zKIlVdpGAx",
          "location": {
            "latitude": 35.35014,
            "longitude": -80.20006
          },
          "muni": "93028",
          "name": "Albemarle",
          "population": 16003,
          "updatedAt": "2019-12-11T12:42:59.707Z"
        },
        {
          "ACL": null,
          "adminCode": "NC",
          "cityId": 4452655,
          "containingState": {
            "id": "UhySVNB0Sr"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:42:59.707Z",
          "featureCode": "PPL",
          "id": "BtLKKTScXp",
          "location": {
            "latitude": 35.20175,
            "longitude": -83.82407
          },
          "muni": "93852",
          "name": "Andrews",
          "population": 1752,
          "updatedAt": "2019-12-11T12:42:59.707Z"
        },
        {
          "ACL": null,
          "adminCode": "NC",
          "cityId": 4452253,
          "containingState": {
            "id": "UhySVNB0Sr"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:42:59.705Z",
          "featureCode": "PPL",
          "id": "FZ4qogj4Hy",
          "location": {
            "latitude": 35.94125,
            "longitude": -80.40922
          },
          "muni": "92896",
          "name": "Advance",
          "population": 1138,
          "updatedAt": "2019-12-11T12:42:59.705Z"
        }
      ]
    }
  }
}