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

  1. John Smith
  2. 🍽Restaurants USA
Public

0
8
0
8
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Restaurants

This GraphQL query fetches All Restaurants


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
31
query allRestaurants {
      restaurants (skip: 0, limit: 3) {
        results {
          ACL
          address
          city
          cityPtr {
            id
          }
          contact
          createdAt
          cuisine {
              ...on Element {
              value
            }
          }
          geoPosition {
            latitude
            longitude
          }
          id
          name
          state
          statePtr {
            id
          }
          type
          updatedAt
          website
        }
      }
    }