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:
Thank you for your feedback!