Open dipakw opened 4 years ago
Thanks for your interest in this project @dipakw. That's a good suggestion, in fact I wish I had used that approach to begin with.
I appreciate your immediate response, HouzuoGuo. If I get extra hours to do it properly, and think like good to propagate to others as well, you might get pull request in the future.
many thanks for your contribution @dipakw !
I think that rand.int() can also end up with a high probability of a conflict... so an UUID can help for unique / unpredictable ID.
HouzuoGuo,
By incremented IDs, I mean ID 1 for first record, 2 for second record, 3 for third and so forth.
I am pretty interested in
tiedot
, played around it, I find it suitable for my project. One thing I am pretty annoyed of, is, it uses generated IDs. I looked into code and found thatrand.Int()
is used to generate new ID.To me, it would be awesome if there won't be any issues with incremented IDs. I tried modifying Insert function little to achieve that, and achieved.
My question is that, are there any potential issues that will occur doing so?