aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWH Cheang <[email protected]>2024-11-13 03:44:10 -0500
committerGitHub <[email protected]>2024-11-13 09:44:10 +0100
commit467bd83dbd2f34dbd5080c45de18901823f83469 (patch)
tree9b87d7e2831d7374fab823d6c93d0f1fc23e5cf3
parent1633c8deb8f6f41151b39b62689ae3e02ab295bc (diff)
downloadfaker-467bd83dbd2f34dbd5080c45de18901823f83469.tar.xz
faker-467bd83dbd2f34dbd5080c45de18901823f83469.zip
docs(guide): faker.animal.type now has 44 possible animals (#3258)
-rw-r--r--docs/guide/unique.md2
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: