Re:ULIDs and Primary Keys
by jagged-chisel on Thursday December 29, 2022 @05:29PM
(#34178948)
>> ... or the purpose of simplicity
Yeah, it's more simple.
> The whole idea is that you can generate them client-side ...
And this is not precluded in the article. One may, at INSERT, also provide the ID. But if you don't it's not an error - the database chooses a default for you.
Yeah, it's more simple.
> The whole idea is that you can generate them client-side ...
And this is not precluded in the article. One may, at INSERT, also provide the ID. But if you don't it's not an error - the database chooses a default for you.