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§

Macros§

  • macro that generates a random number regardless the type