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

  1. Back4App
  2. USA Cities by State
Public

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

All ORS

This GraphQL query fetches All ORS


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
query allORS {
      oRS (skip: 0, limit: 3) {
        results {
          ACL
          adminCode
          cityId
          containingState {
            id
          }
          country
          createdAt
          featureCode
          id
          location {
            latitude
            longitude
          }
          name
          population
          updatedAt
        }
      }
    }
{
  "data": {
    "oRS": {
      "results": [
        {
          "ACL": null,
          "adminCode": "OR",
          "cityId": 5711224,
          "containingState": {
            "id": "HdOtHl6hPr"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:43:36.264Z",
          "featureCode": "PPL",
          "id": "JEP9lrmefE",
          "location": {
            "latitude": 45.11567,
            "longitude": -123.20733
          },
          "name": "Amity",
          "population": 1641,
          "updatedAt": "2019-12-11T12:43:36.264Z"
        },
        {
          "ACL": null,
          "adminCode": "OR",
          "cityId": 5712837,
          "containingState": {
            "id": "HdOtHl6hPr"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:43:36.265Z",
          "featureCode": "PPL",
          "id": "WQKHkWPeIp",
          "location": {
            "latitude": 45.5226,
            "longitude": -123.8893
          },
          "name": "Bay City",
          "population": 1332,
          "updatedAt": "2019-12-11T12:43:36.265Z"
        },
        {
          "ACL": null,
          "adminCode": "OR",
          "cityId": 5713224,
          "containingState": {
            "id": "HdOtHl6hPr"
          },
          "country": "US",
          "createdAt": "2019-12-11T12:43:36.265Z",
          "featureCode": "PPL",
          "id": "FIgIcvFqIC",
          "location": {
            "latitude": 45.2879,
            "longitude": -122.53564
          },
          "name": "Beavercreek",
          "population": 4485,
          "updatedAt": "2019-12-11T12:43:36.265Z"
        }
      ]
    }
  }
}