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

  1. Back4App
  2. Node.js App Template using Cloud Code and Web Hosting
Public

122
94
122
94
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Contacts

This GraphQL query fetches All Contacts


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
query allContacts {
      contacts (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          firstName
          id
          kindMovie
          myArray {
              ...on Element {
              value
            }
          }
          phone
          updatedAt
        }
      }
    }
{
  "data": {
    "contacts": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2018-08-21T14:19:27.762Z",
          "firstName": "Natalia",
          "id": "bW5EmoTmiv",
          "kindMovie": "action",
          "myArray": null,
          "phone": "+5512988098677",
          "updatedAt": "2018-08-21T14:19:27.762Z"
        },
        {
          "ACL": null,
          "createdAt": "2018-08-21T14:21:55.339Z",
          "firstName": "dsdsdsds",
          "id": "JO9VkUPEqW",
          "kindMovie": "drama",
          "myArray": null,
          "phone": "+5512988098677",
          "updatedAt": "2018-08-21T14:21:55.339Z"
        },
        {
          "ACL": null,
          "createdAt": "2018-08-21T14:26:16.704Z",
          "firstName": "Tania",
          "id": "4oGgGM9Zxd",
          "kindMovie": "action",
          "myArray": null,
          "phone": "+5512988155237",
          "updatedAt": "2018-08-21T14:26:16.704Z"
        }
      ]
    }
  }
}