Join Slack
Powered by
if i have ids with `id String *@id*` `*@default*(c...
# orm-help
j
Joey
06/30/2022, 6:03 PM
if i have ids with
id String *@id*
*@default*(cuid())
, does that guarantee that no row will be created with the same id on any table, or is it just unique on that specific table?
✅ 1
a
Austin
06/30/2022, 9:39 PM
Hey Joey! CUIDs have an extremely small chance of collision, so you will get unique IDs across all tables. You can read more
here
.
j
Joey
07/01/2022, 5:02 AM
thanks austin!
4
Views
Open in Slack
Previous
Next