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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support auto-generation/explicit use of ObjectId, UUID (v4, v6, v7) as document ids (_id) #922

Closed
tatu-at-datastax opened this issue Mar 5, 2024 · 1 comment
Assignees
Milestone

Comments

@tatu-at-datastax
Copy link
Contributor

tatu-at-datastax commented Mar 5, 2024

Currently we only support auto-generation of UUIDv4, random-based UUIDs. We should support use of both ObjectIds and UUIDv1s, to support more semantically meaningful document ids (and some degree of sorting by likely document creation time).

We should also allow explicit passing of _ids of these types.

@tatu-at-datastax tatu-at-datastax changed the title Support auto-generation of ObjectId, UUID (v1 and v4) for documents Support auto-generation/explicit use of ObjectId, UUID (v1 and v4) for documents Mar 5, 2024
@tatu-at-datastax tatu-at-datastax changed the title Support auto-generation/explicit use of ObjectId, UUID (v1 and v4) for documents Support auto-generation/explicit use of ObjectId, UUID (v1 and v4) as document ids (_id) Mar 5, 2024
@tatu-at-datastax tatu-at-datastax changed the title Support auto-generation/explicit use of ObjectId, UUID (v1 and v4) as document ids (_id) Support auto-generation/explicit use of ObjectId, UUID (v4, v6, v7) as document ids (_id) Mar 6, 2024
@tatu-at-datastax
Copy link
Contributor Author

Completed to be included in 1.0.3 release

@tatu-at-datastax tatu-at-datastax added this to the 1.0.3 milestone Mar 21, 2024
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

No branches or pull requests

1 participant