Each time you generate a time based uuid timeuuid
, even if you generate two at the same time it will be unique. This is because inside the timeuuid
, it contains both the time and a very big random number.
If you want to use the same timeuuid
for a number of tables/records, generate the timeuuid
in your code first, and then pass your timeuuid
into the cql update statement on both tables using your pre-generated timeuuid
.