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.

For more information, see Documents

Was this article helpful?

We're sorry to hear that.
Tell us how we can improve!
Visit Fauna's Discourse forums or email docs@fauna.com

Thank you for your feedback!