Document recipes

This section provides recipes for managing documents:


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 forums or email

Thank you for your feedback!