Data type and specific values
The following generators populate a column with a specific value or a random value of a specific type.
For more information about each generator and how to configure in the application, go to Data type and specific values.
Array
Populates the field with an array of values.
{
"name": string,
"generator": "Array",
// Generator-specific fields
"items": {
"generator": string // Generator for the array values
// Configuration for the selected generator.
},
"distribution": "fixed"|"normal"|"uniform", // Distribution to use for the
// number of array values
// Fixed distribution
"exact_value": number // Exact number of array values
// Uniform distribution
"min": number, // Minimum number of array values
"max": number, // Maximum number of array values
// Normal distribution
"min": number, // Minimum number of array valuesl
"max": number, // Maximum number of array values
"mean": number, // Mean number of array values
"stddev": number, // Standard deviation for the number of array values
//End generator-specific fields
"percent_null": integer,
"virtual": boolean,
// Advanced options
"primary_key": boolean,
"index": boolean,
"seed": string,
"postprocessing_sql": string
}Blank
The Blank generator inserts a null value.
Boolean
Inserts a random boolean value - either true or false.
Constant
Inserts the same value into all of the rows.
Image (binary)
Produces a JPEG image in binary format.
Lorem Ipsum
Populates the column with filler text.
Mongo ObjectId
Populates the column with a MongoDB object identifier.
Intended for document identifier columns in a MongoDB database.
Number
Inserts a numeric value.
Object
Populates the field with a JSON object.
UUID
Generates a random universally unique identifier (UUID).
Last updated

