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

  1. CubyCode
  2. ToDoo | To Do List App Template
Public

13
14
13
14
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All ToDos

This GraphQL query fetches All ToDos


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
query allToDos {
      toDos (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          dueDate
          id
          image {
            url
            name
          }
          isCompleted
          keywords {
              ...on Element {
              value
            }
          }
          listPointer {
            id
          }
          note
          note2
          reminderDate
          text
          updatedAt
          userPointer {
            id
          }
        }
      }
    }
{
  "data": {
    "toDos": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2018-12-31T09:25:58.065Z",
          "dueDate": "2018-12-31T09:26:19.217Z",
          "id": "7czEOzvGIK",
          "image": null,
          "isCompleted": true,
          "keywords": [
            {
              "value": "aeon"
            },
            {
              "value": "visit"
            }
          ],
          "listPointer": {
            "id": "d8U3AeFl0m"
          },
          "note": "Hdjdjdfj",
          "note2": null,
          "reminderDate": "2018-12-31T09:31:00.000Z",
          "text": "aeon visit",
          "updatedAt": "2019-01-23T16:50:37.015Z",
          "userPointer": {
            "id": "YhvUKmBsoX"
          }
        },
        {
          "ACL": null,
          "createdAt": "2019-01-11T10:56:47.162Z",
          "dueDate": null,
          "id": "7LW5q8tO97",
          "image": null,
          "isCompleted": false,
          "keywords": [
            {
              "value": "hdhdhd"
            }
          ],
          "listPointer": {
            "id": "QlBvLcsr8s"
          },
          "note": "",
          "note2": null,
          "reminderDate": null,
          "text": "hdhdhd",
          "updatedAt": "2019-01-17T08:57:15.852Z",
          "userPointer": {
            "id": "YhvUKmBsoX"
          }
        },
        {
          "ACL": null,
          "createdAt": "2019-03-27T13:06:19.384Z",
          "dueDate": "2019-03-27T13:18:57.892Z",
          "id": "b5KJcV4Obl",
          "image": {
            "url": "https://parsefiles.back4app.com/7BbPXCruj3zSa3j5UTnC6GF3eQG1FPQwW0dIeIna/5a7462cda42479101ad180a1f75ea70e_image.jpg",
            "name": "5a7462cda42479101ad180a1f75ea70e_image.jpg"
          },
          "isCompleted": false,
          "keywords": [
            {
              "value": "portcity"
            }
          ],
          "listPointer": {
            "id": "W7GjgpUCkX"
          },
          "note": "200\n\n",
          "note2": "600",
          "reminderDate": null,
          "text": "PortCity",
          "updatedAt": "2019-03-29T14:40:42.239Z",
          "userPointer": {
            "id": "rjEfQJpeCR"
          }
        }
      ]
    }
  }
}