-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make a sequence/1 function that generates a default string #66
Comments
And maybe the name could be different. Like |
I really like I'd rather it be the same name ( |
Great! This is super easy to implement so I'll add that tomorrow :D |
Actually it might make sense to simplify this and make the first arg a string. So you would do: sequence("Title") # Generates "Title 1"
sequence("Comment Body") # Generate "Comment Body 1" I think the key can be a binary so that might work better. Less indirection I think |
A lot of times I just want a unique value like this:
For simple cases like this I think it would be helpful if you could do something like
Thoughts on this? Would it be better to use Faker or would this be useful?
The text was updated successfully, but these errors were encountered: