Identifiers
Identifiers are one of the most basic metadata properties of data. Instead of
generating them on your own, you can use a predefined profile identifiers
.
Example Usage
At the following example you can see how could this profile:
Contents
There are more various identifiers than just uuid:
rowNumber
- Number of the generated instance in a sequence (only when usinggenerateMany(n)
method)randH
- Random number within hundreds (from interval [100 - 999])randT
- Random number within thousands (from interval [1,000 - 9,999])randM
- Random number within millions (from interval [1,000,000 - 9,999,999])uuid
- UUID (Universally Unique Identifier) in lowercase characters; otherwise the value is the same as inUUID
propertyUUID
- UUID (Universally Unique Identifier) in uppercase characters; otherwise the value is the same as inuuid
property
Example
Here's an example of how does the identifiers
profile behave:
Output
[
{
rowNumber: 0,
randH: 115,
randT: 5263,
randM: 3968364,
uuid: '23d8ec5f-93ea-4919-ce83-df638a958303',
UUID: '23D8EC5F-93EA-4919-CE83-DF638A958303'
},
{
rowNumber: 1,
randH: 649,
randT: 9368,
randM: 3201817,
uuid: '38360491-f11a-484c-24c8-61d00ba29aba',
UUID: '38360491-F11A-484C-24C8-61D00BA29ABA'
},
{
rowNumber: 2,
randH: 502,
randT: 2845,
randM: 5387946,
uuid: '9393d3fb-d23d-43bb-9bdb-9af99c5d942a',
UUID: '9393D3FB-D23D-43BB-9BDB-9AF99C5D942A'
}
]