[mongodb] weights missing from IndexOptions #53867
Unanswered
make-github-pseudonymous-again
asked this question in
Issues with a @types package
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Any reason why the
weights
key available fortext
indexes was left out ofIndexOptions
? It's there inIndexSpecification
.DefinitelyTyped/types/mongodb/index.d.ts
Lines 1551 to 1602 in 0a4c753
PS: Mmmh. Could it be that the driver is missing that too? It is not listed there: https://mongodb.github.io/node-mongodb-native/3.6/api/Collection.html#createIndex.
Beta Was this translation helpful? Give feedback.
All reactions