Skip to content

Commit 8b8efd0

Browse files
vkarpov15Copilot
andauthored
Update docs/browser.md
Co-authored-by: Copilot <[email protected]>
1 parent 113e7ac commit 8b8efd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/browser.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ console.log(doc.validateSync());
3838

3939
**Note:** The browser version of Mongoose supports only schema-based validation.
4040
Built-in validators (like `required`, `enum`, `minlength`) and custom validators work as expected using `validate()` or `validateSync()`.
41-
However, browser Mongoose does **not** support models, queries, defaults, middleware (hooks), or any database operations.
42-
Only document validation is available in the browser build.
41+
However, browser Mongoose does **not** support database operations, queries, or populate. Some features, like simplified models, document hooks (middleware), and defaults, are available in a limited capacity.
42+
Only document validation and limited model/document features are available in the browser build.

0 commit comments

Comments
 (0)