We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
db.define('tag', faker => { return { value: faker.cycle('car', 'bike', 'bus') }; }); db.create('tag', 3);
This will generate the following records:
[{ value: 'car' }, { value: 'bike' }, { value: 'bus' }]
This is useful when you want a element from a specific list and will avoid doing something like
db.create('tag', {value: 'car'}); db.create('tag', {value: 'bike'}); db.create('tag', {value: 'bus'});
The text was updated successfully, but these errors were encountered:
zzarcon
No branches or pull requests
This will generate the following records:
This is useful when you want a element from a specific list and will avoid doing something like
The text was updated successfully, but these errors were encountered: