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

  1. Back4App
  2. Instagram Clone
Public

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

All Comments

This GraphQL query fetches All Comments


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
query allComments {
      comments (skip: 0, limit: 3) {
        results {
          ACL
          comment
          createdAt
          id
          owner {
            id
          }
          post {
            id
          }
          updatedAt
        }
      }
    }
{
  "data": {
    "comments": {
      "results": [
        {
          "ACL": null,
          "comment": "Beautiful!",
          "createdAt": "2019-10-29T13:49:14.343Z",
          "id": "XPAPk9i5pQ",
          "owner": {
            "id": "mPkCbx25A3"
          },
          "post": {
            "id": "kx7VwAHeiT"
          },
          "updatedAt": "2019-10-29T13:49:27.979Z"
        }
      ]
    }
  }
}