FQL v4 will be decommissioned on June 30, 2025. Ensure that you complete your migration from FQL v4 to FQL v10 by that date.

For more details, review the migration guide. Contact support@fauna.com with any questions.

Document recipes

This section provides recipes for managing documents:

Discussion

Documents are conceptually equivalent to records in SQL databases. The major differences are:

  • Documents have no specific schema. The structure of one document can be completely distinct from any other document.

  • There is built-in constraint mechanism available to enforce a particular structure on any field of a document.

  • Null values are not stored.

  • Documents are stored as immutable events: document modifications are stored as separate events, including deletions. This feature allows you to perform point-in-time queries.

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!