Daniel Mejia
10/23/2022, 12:53 AMid | String | The unique identifier for the object. For example, 12345678-9abc-def0-1234-56789abcde. The value of the id property is often but not exclusively in the form of a GUID; treat it as an *opaque identifier* and do not rely on it being a GUID. Key. Not nullable. Read-only.
How would you treat this string in your database? Say you needed to save this value in your database. varchar(50)?Daniel Mejia
10/23/2022, 12:55 AMwebsolete
10/23/2022, 1:42 AMwebsolete
10/23/2022, 1:42 AMwebsolete
10/23/2022, 1:43 AMAdam Cameron
UniqueIdentifier
.
If yer using something else, then use a char file wide enough to store the GUID.
If yer using yer own scheme to come up with a unique identifier (DO NOT DO THIS), then make it as wide as that scheme dictates.Daniel Mejia
10/23/2022, 6:30 PM