datafaker icon indicating copy to clipboard operation
datafaker copied to clipboard

增加唯一性的支持

Open happy-daniel opened this issue 5 years ago • 1 comments

比如登录名,肯定是唯一的,现在用user_name 或者company_email 都有可能产生重复数据。 比如可以定义一个unique的function [:unique("user_name)] 用这样的方式保证为同一数据列产生的数据是唯一的!

happy-daniel avatar Nov 12 '20 07:11 happy-daniel

这个唯一性用的场景还比较多,下个版本更新

gangly avatar Nov 21 '20 04:11 gangly