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

  1. Back4App
  2. ๐Ÿ‡บ๐Ÿ‡ธ United States Universities
Public

55
137
55
137
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All States

This GraphQL query fetches All States


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
query allStates {
      states (skip: 0, limit: 3) {
        results {
          ACL
          Universities (skip: 0, limit: 3) {
            results {
              id
            }
          }
          createdAt
          id
          name
          region {
            id
          }
          updatedAt
        }
      }
    }
{
  "data": {
    "states": {
      "results": [
        {
          "ACL": null,
          "Universities": {
            "results": [
              {
                "id": "1unqovTSCb"
              },
              {
                "id": "333PNIpyuc"
              },
              {
                "id": "54jhy2wkiB"
              }
            ]
          },
          "createdAt": "2019-12-19T14:32:38.421Z",
          "id": "0rMNj9m3wF",
          "name": "Maine",
          "region": {
            "id": "gCicYHkaoQ"
          },
          "updatedAt": "2019-12-19T14:41:58.395Z"
        },
        {
          "ACL": null,
          "Universities": {
            "results": [
              {
                "id": "0Jvho1pEdO"
              },
              {
                "id": "26zefsF2Ow"
              },
              {
                "id": "2GgHIxqGKH"
              }
            ]
          },
          "createdAt": "2019-12-19T14:32:38.421Z",
          "id": "RgEjBdhWjE",
          "name": "Connecticut",
          "region": {
            "id": "gCicYHkaoQ"
          },
          "updatedAt": "2019-12-19T14:41:57.297Z"
        },
        {
          "ACL": null,
          "Universities": {
            "results": [
              {
                "id": "0ov3ikcKXh"
              },
              {
                "id": "0rzNEOIp1D"
              },
              {
                "id": "1DSxRLBHGw"
              }
            ]
          },
          "createdAt": "2019-12-19T14:32:38.421Z",
          "id": "vKcIRkRCzk",
          "name": "Pennsylvania",
          "region": {
            "id": "gCicYHkaoQ"
          },
          "updatedAt": "2019-12-19T14:41:58.948Z"
        }
      ]
    }
  }
}