GraphQL Playground
excalibase-graphql · DVD Rental schema
Setup
1Clone and start
git clone https://github.com/excalibase/excalibase-graphql.git cd excalibase-graphql docker-compose up -d
2Enter endpoint above
https://api.excalibase.io/graphql
3Run a query
{ film(limit: 5) { title rental_rate } }After connecting, GraphiQL's built-in docs panel shows your full schema. Use the book icon in the toolbar to explore types.
Sample queries
# PG films with actors
{ film(where:{rating:{eq:"PG"}},limit:5) {
title rental_rate actor { first_name last_name }
} }
# Unreturned rentals
{ rental(where:{return_date:{isNull:true}},limit:10) {
rental_date customer { email }
} }
# Recent payments
{ payment(orderBy:{payment_date:DESC},limit:10) {
amount payment_date customer { first_name }
} }Loading GraphiQL...