zefaker web
Examples
Basic
Advanced
More on GitHub
GitHub
// __ _ // ___ ___ / _| __ _ | |__ ___ _ _ // |_ // -_)| _|/ _` || / // -_)| '_| // /__|\___||_| \__/_||_\_\\___||_| // This is an example, you can put your code here import java.util.concurrent.atomic.AtomicInteger autoIncrementID = new AtomicInteger(0) id = column(index= 0, name= "id") firstName = column(index= 1, name= "firstName") lastName = column(index= 2, name= "lastName") age = column(index= 3, name= "age") userStatus= column(index= 4, name= "userStatus") generateFrom([ (id):{ faker -> autoIncrementID.incrementAndGet() }, (firstName): { faker -> faker.name().firstName() }, (lastName): { faker -> faker.name().lastName() }, (age): { faker -> faker.number().numberBetween(18, 70) }, (userStatus): { faker -> faker.options().option("active", "unverified account", "disabled:flagged") } ])
This is still in beta testing, bugs will be present...
Generate Data
Export format
SQL
CSV
JSON
JSON Lines
Excel
Number of Records
SQL Specific options
Tablename
Quote Columns as
default
Postgres
"column"
SQL Server
[column]
MySQL
`column`
Excel Specific options
Sheet Name
Generate Data File
Save Script
Copyright (c) Credit Data CRB Ltd 2021
Processing ...
Please wait while processing your request...