diff options
| author | WH Cheang <[email protected]> | 2024-11-13 03:44:10 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-11-13 09:44:10 +0100 |
| commit | 467bd83dbd2f34dbd5080c45de18901823f83469 (patch) | |
| tree | 9b87d7e2831d7374fab823d6c93d0f1fc23e5cf3 /docs | |
| parent | 1633c8deb8f6f41151b39b62689ae3e02ab295bc (diff) | |
| download | faker-467bd83dbd2f34dbd5080c45de18901823f83469.tar.xz faker-467bd83dbd2f34dbd5080c45de18901823f83469.zip | |
docs(guide): faker.animal.type now has 44 possible animals (#3258)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/guide/unique.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/guide/unique.md b/docs/guide/unique.md index ac9a3038..90a3bac3 100644 --- a/docs/guide/unique.md +++ b/docs/guide/unique.md @@ -10,7 +10,7 @@ faker.animal.type(); //'horse' faker.animal.type(); //'horse' ``` -Some methods and locales use much smaller data sets than others. For example, `faker.animal.type` has only 13 possible animals to choose from. In contrast, `faker.person.fullName()` pulls from a list of hundreds of first names, surnames, and prefixes/suffixes, so it can generate hundreds of thousands of unique names. Even then, the [birthday paradox](https://en.wikipedia.org/wiki/Birthday_Paradox) means that duplicate values will quickly be generated. +Some methods and locales use much smaller data sets than others. For example, `faker.animal.type` has only 44 possible animals to choose from. In contrast, `faker.person.fullName()` pulls from a list of hundreds of first names, surnames, and prefixes/suffixes, so it can generate hundreds of thousands of unique names. Even then, the [birthday paradox](https://en.wikipedia.org/wiki/Birthday_Paradox) means that duplicate values will quickly be generated. Sometimes, you want to generate unique values. For example, you may wish to have unique values in a database email column. There are a few possible strategies for this: |
