Skip to content

Commit

Permalink
Update into docs #9
Browse files Browse the repository at this point in the history
  • Loading branch information
gurcuff91 committed Apr 6, 2024
1 parent 42de84e commit 8d80b42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/documents.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
</style>

## Document
## Defining documents

Defining documents in Mongotoy is straightforward. Simply inherit from `mongotoy.Document` class and define your class
attributes similarly to how you would define a [Python dataclass](https://docs.python.org/3/library/dataclasses.html).
Expand Down Expand Up @@ -93,7 +93,7 @@ All of these configurations apply only at the document collection level and do n
database collections.


## Embedded Document
## Defining embedded documents

An _embedded document_ serves as a container for defining complex object types that are nested within other
documents. Unlike _documents_, _embedded documents_ do not represent individual collections in the database.
Expand Down

0 comments on commit 8d80b42

Please sign in to comment.