1.0.0 • Published 7 years ago

populatedb v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
7 years ago

populaterandomDB

Example for populating Mongo

//url, opts, collection,  url of schema, duration, range of time, amount
populate.populateMongo("mongodb://localhost/test", {}, "pruebasa", "./schema.yaml", 3, 2, 10);

Example for populating ElasticSearch

// url, index,type,duration,range of time, amount
populate.populateElastic("localhost:9200", "test", "log", 30, 2, 10);