From 467bd83dbd2f34dbd5080c45de18901823f83469 Mon Sep 17 00:00:00 2001 From: WH Cheang <63855812+s-inu@users.noreply.github.com> Date: Wed, 13 Nov 2024 03:44:10 -0500 Subject: docs(guide): faker.animal.type now has 44 possible animals (#3258) --- docs/guide/unique.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') 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: -- cgit v1.2.3