Skip to content

fix: correct EIndexType enum comment mapping values#535

Open
crStiv wants to merge 1 commit into
orochi-network:mainfrom
crStiv:packagescommonsrctypescollection.ts
Open

fix: correct EIndexType enum comment mapping values#535
crStiv wants to merge 1 commit into
orochi-network:mainfrom
crStiv:packagescommonsrctypescollection.ts

Conversation

@crStiv

@crStiv crStiv commented Dec 5, 2025

Copy link
Copy Markdown

Fixes incorrect MongoDB value mapping in EIndexType JSDoc comments.
The comments previously stated Asc maps to -1 and Desc to 1, but
the actual implementation maps Asc to 1 and Desc to -1, which
matches MongoDB's standard index direction values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants