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

  1. Back4App
  2. USA Cities by State
Public

20
62
20
62
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All TNS

This GraphQL query fetches All TNS


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
query allTNS {
      tNS (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          containingState {
            id
          }
          country
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "tNS": {
      "results": [
        {
          "ACL": null,
          "adminCode": "TN",
          "cityId": 4605372,
          "containingState": {
            "id": "XezAA6dibc"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:44:36.232Z",
          "featureCode": "PPL",
          "id": "cYsmwYkOAZ",
          "location": {
            "latitude": 35.71118,
            "longitude": -89.08756
          },
          "name": "Bells",
          "population": 2447,
          "updatedAt": "2019-12-11T12:44:36.232Z"
        },
        {
          "ACL": null,
          "adminCode": "TN",
          "cityId": 4603908,
          "containingState": {
            "id": "XezAA6dibc"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:44:36.232Z",
          "featureCode": "PPL",
          "id": "Y0JG1hay5o",
          "location": {
            "latitude": 36.13066,
            "longitude": -82.42458
          },
          "name": "Banner Hill",
          "population": 1497,
          "updatedAt": "2019-12-11T12:44:36.232Z"
        },
        {
          "ACL": null,
          "adminCode": "TN",
          "cityId": 4602982,
          "containingState": {
            "id": "XezAA6dibc"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:44:36.232Z",
          "featureCode": "PPL",
          "id": "dlV1LZUhCJ",
          "location": {
            "latitude": 34.99203,
            "longitude": -86.84667
          },
          "name": "Ardmore",
          "population": 1213,
          "updatedAt": "2019-12-11T12:44:36.232Z"
        }
      ]
    }
  }
}