Skip to content

Commit

Permalink
Update docs/migrating_to_6.md
Browse files Browse the repository at this point in the history
Co-authored-by: hasezoey <[email protected]>
  • Loading branch information
vkarpov15 and hasezoey authored Aug 20, 2024
1 parent dc4ffab commit 20cb146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migrating_to_6.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ await q;
await q.clone(); // Can `clone()` the query to allow executing the query again
```

## Model.exists(...) now returns a lean document instead of boolean {#model-exists-returns-a-lean-document-instead-of-boolean}
## `Model.exists(...)` now returns a lean document instead of boolean {#model-exists-returns-a-lean-document-instead-of-boolean}

```js
// in Mongoose 5.x, `existingUser` used to be a boolean
Expand Down

0 comments on commit 20cb146

Please sign in to comment.