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

  1. Back4App
  2. Coronavirus COVID-19 API
Public

66
305
66
305
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All CasesByCountries

This GraphQL query fetches All CasesByCountries


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
query allCasesByCountries {
      casesByCountries (skip: 0, limit: 3) {
        results {
          ACL
          code
          country
          covid19cases (skip: 0, limit: 3) {
            results {
              id
            }
          }
          createdAt
          emoji
          id
          updatedAt
        }
      }
    }
{
  "data": {
    "casesByCountries": {
      "results": [
        {
          "ACL": null,
          "code": "AD",
          "country": "Andorra",
          "covid19cases": {
            "results": [
              {
                "id": "02zFqDyCJA"
              },
              {
                "id": "08FJ5HJESa"
              },
              {
                "id": "0EGXE5KKJ2"
              }
            ]
          },
          "createdAt": "2020-04-01T12:29:46.298Z",
          "emoji": "🇦🇩",
          "id": "Y1XAZqGIMo",
          "updatedAt": "2023-02-02T15:00:25.770Z"
        },
        {
          "ACL": null,
          "code": "AE",
          "country": "United Arab Emirates",
          "covid19cases": {
            "results": [
              {
                "id": "06HITGV5Vh"
              },
              {
                "id": "07eLlRCegf"
              },
              {
                "id": "0B27DQiygx"
              }
            ]
          },
          "createdAt": "2020-04-01T12:29:46.578Z",
          "emoji": "🇦🇪",
          "id": "98IpBimcMz",
          "updatedAt": "2023-02-02T15:00:23.495Z"
        },
        {
          "ACL": null,
          "code": "AF",
          "country": "Afghanistan",
          "covid19cases": {
            "results": [
              {
                "id": "01Yo0vulLN"
              },
              {
                "id": "03CUfukIZ7"
              },
              {
                "id": "03HNIZAaCt"
              }
            ]
          },
          "createdAt": "2020-04-01T12:29:46.834Z",
          "emoji": "🇦🇫",
          "id": "XMh8S2HnaQ",
          "updatedAt": "2023-02-02T15:00:22.123Z"
        }
      ]
    }
  }
}