Skip to content

fix: correct EIndexType enum comment mapping values#535

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

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

Conversation

@crStiv
Copy link
Copy Markdown

@crStiv crStiv commented Dec 5, 2025

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.

1 participant