Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new index key generation code using CBOR #7

Merged
merged 1 commit into from Aug 8, 2022
Merged

Conversation

RangerMauve
Copy link
Owner

Fixes #6

Added a new index version v2.0 type which uses CBOR to generate index keys.

Had to do some funky stuff to make sure the key prefix is correct for $eq and $gt queries since cbor does length prefixing for it's lists (not sure why that wasn't an issue for BSON 馃)

@RangerMauve
Copy link
Owner Author

Tested this out with the ushin-db repo and it seems to be fixing everything! 馃懐

@RangerMauve RangerMauve merged commit 5ccf80e into default Aug 8, 2022
@RangerMauve
Copy link
Owner Author

Out in 2.0.0

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.

Account for BSON encoding lower bits from int64
1 participant