Skip to content

Commit 68f2ebd

Browse files
API docs for promoteValues
1 parent df7c715 commit 68f2ebd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

types/query.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ declare module 'mongoose' {
209209
translateAliases?: boolean;
210210
upsert?: boolean;
211211
useBigInt64?: boolean;
212+
/**
213+
* If `false`, will NOT promote [BSON](https://www.mongodb.com/docs/manual/reference/bson-types/values) to their Node.js closest equivalent types.
214+
*/
212215
promoteValues?: boolean;
213216
writeConcern?: mongodb.WriteConcern;
214217

0 commit comments

Comments
 (0)