Crate spawnflake
source ·Expand description
§Spawnflake
Spawnflake is a schema agnostic, random and/or patterns based data generator, for MySQL databases.
This library works by providing a configuration file (config.json). The configuration is divided into two sections.
- mysql configuration (mysql_configuration)
- type patterns (types)
The types that can be currently defined are string, integer and float
A type is defined as follows:
{
"name": "column_name",
"rules": []
}
A lack of a pattern type will result in a random value being generated.
See the example configuration file for more information
Modules§
- generates bytes
- This module allows you to configure your generators
- Database functionality
- generates random dates from 1970 to now
- generates name based on patterns
- generates random numbers
- generates random strings
Macros§
- macro that generates a random number regardless the type