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

  1. Back4App
  2. USA Cities by State
Public

84
247
84
247
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All NMS

This GraphQL query fetches All NMS


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
query allNMS {
      nMS (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          containingState {
            id
          }
          country
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "nMS": {
      "results": [
        {
          "ACL": null,
          "adminCode": "NM",
          "cityId": 5457146,
          "containingState": {
            "id": "w9pWAqkWcF"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:42:27.779Z",
          "featureCode": "PPL",
          "id": "VqlNTUHthH",
          "location": {
            "latitude": 32.07093,
            "longitude": -106.62138
          },
          "name": "Berino",
          "population": 1441,
          "updatedAt": "2019-12-11T12:42:27.779Z"
        },
        {
          "ACL": null,
          "adminCode": "NM",
          "cityId": 5456049,
          "containingState": {
            "id": "w9pWAqkWcF"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:42:27.778Z",
          "featureCode": "PPLA2",
          "id": "05cAVoguJC",
          "location": {
            "latitude": 36.82223,
            "longitude": -107.99285
          },
          "name": "Aztec",
          "population": 6147,
          "updatedAt": "2019-12-11T12:42:27.778Z"
        },
        {
          "ACL": null,
          "adminCode": "NM",
          "cityId": 5454711,
          "containingState": {
            "id": "w9pWAqkWcF"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:42:27.778Z",
          "featureCode": "PPLA2",
          "id": "whFV5gioqF",
          "location": {
            "latitude": 35.08449,
            "longitude": -106.65114
          },
          "name": "Albuquerque",
          "population": 559121,
          "updatedAt": "2019-12-11T12:42:27.778Z"
        }
      ]
    }
  }
}