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

uuid in ObjectId #184

Open
amehat opened this issue Apr 29, 2020 · 1 comment
Open

uuid in ObjectId #184

amehat opened this issue Apr 29, 2020 · 1 comment

Comments

@amehat
Copy link

amehat commented Apr 29, 2020

Hello,

thank you for this project which is really interesting.
As a developer, I generally use uuid to uniquely identify my recordings, is the possibility of using uuid in ObjectId possible with TingoDB natively? And if so, how?

@sergeyksv
Copy link
Owner

You can use any ids that you want. You only need to put it before inserting record. I mean that there are no constraints that _id is always ObjectId, it can be string, integer etc

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

2 participants