Tutorials
Our step-by-step instructions in this tutorials section guide you through various Fauna use cases.
GraphQL tutorials
-
Learn how to use the
@relation
directive to·form·bi-directional·relations·in·GraphQL — that is, to connect an attribute in a GraphQL schema to another GraphQL type — in the Relations tutorial. -
Learn how to use the
@unique
·directive,·which·allows·you·to add·constraints·to·your·GraphQL·schema to enforce uniqueness on a type, in the Unique·constraints tutorial. -
Learn how to use pagination, where only a small group of results is return for any one query and subsequent queries can fetch the next or previous group, in the Pagination tutorial.
FQL tutorials
-
Learn how to create, read, update, and delete documents with our CRUD tutorial.
-
Learn how to use indexes to sort, search, or to search and sort documents.
-
Fauna is a bi-temporal database. Learn how to execute snapshot and event queries in the Temporality tutorial.
-
Fauna supports multi-tenant databases. Our Multitenancy tutorial shows you how to use this feature.
-
Learn how to use authentication in the user authentication tutorial, and how to control access to information in Fauna with our Attribute-based access control (ABAC) tutorial.
-
Our Social graph demonstrates how to form relationships between users, using a simple graph-like queries.
-
Finally, our E-commerce tutorial demonstrates one way to use Fauna to keep track of users and purchases.