The Example schemas and queries is a directory of schemas that go beyond the basic User and Post models used for simple examples, and the kinds of queries the schema supports. Add your example and create a pull request! 🚀 For example, you might design a schema and queries for:
A hotel room booking system
A ticket booking system that supports reserving a ticket for 10 minutes
An ecommerce website
Where should I add my page?
Add your contributions under Guides > Samples as a separate page.
What format should I use?
Use the following basic template as a starting point:
Introduction here
## Scenario
This schema models followers/following - a many-to-many relationship.
## Schema
```prisma
Your schema here
Example queries
Example queries here - the more advanced and peculiar the better.
The Example schemas and queries is a directory of schemas that go beyond the basic
User
andPost
models used for simple examples, and the kinds of queries the schema supports. Add your example and create a pull request! 🚀 For example, you might design a schema and queries for:Where should I add my page?
Add your contributions under Guides > Samples as a separate page.
What format should I use?
Use the following basic template as a starting point:
Example queries
Example queries here - the more advanced and peculiar the better.