Skip to content

revolko/pg-randomizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PgRandomizer

Simple generator of random data for Postgres database. Currently supports only random integer and strings.

How to use

There are two methods that can be invoked: generate and generate_with_connection. Both accept number of queries to generate and tables options (see example script for more info). The latter method accepts map for database connection (again see example).

In the root of the repository you can find docker compose file that create Postgres database and initializes tables. When the Postgres instance is running, the example will populate both tables with 10 random columns.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages