spawnflake 0.2.9

Generate pattern based random data for mysql
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
extern crate spawnflake;

use spawnflake::{
    configuration::{self, config_model::GenericConfiguration},
    datastores::{datastore::DataGeneration, my_sql::datastore_models::Mysql},
};

fn main() {
    let config: GenericConfiguration = configuration::reader::read("./config.json").unwrap();
    let mut db = Mysql::new();
    db.spawn(&config, 10);
}