Skip to content

Commit

Permalink
API docs for promoteValues
Browse files Browse the repository at this point in the history
aditi-khare-mongoDB committed Nov 8, 2024

Verified

This commit was signed with the committer’s verified signature.
olsh Oleg Shevchenko
1 parent df7c715 commit 68f2ebd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/query.d.ts
Original file line number Diff line number Diff line change
@@ -209,6 +209,9 @@ declare module 'mongoose' {
translateAliases?: boolean;
upsert?: boolean;
useBigInt64?: boolean;
/**
* If `false`, will NOT promote [BSON](https://www.mongodb.com/docs/manual/reference/bson-types/values) to their Node.js closest equivalent types.
*/
promoteValues?: boolean;
writeConcern?: mongodb.WriteConcern;

0 comments on commit 68f2ebd

Please sign in to comment.