Sha256: b66e4984d299433f656f1c3ef84d9c29bad89bd79aa1abb2b550d88daa7558ce

Contents?: true

Size: 1.16 KB

Versions: 4

Compression:

Stored size: 1.16 KB

Contents

Ever found yourself wanting a modest amount of fresh rows from a production database
for development purposes, but put back by the need to maintain referential integrity
in the extracted data sample?

This data sampling utility will take care that referential dependencies are
fulfilled by recursively expanding the sample with unfilled dependencies until
the sample is referentially consistent.

  COMMANDS:

    help                 Display global or [command] help documentation.
    sample               Extract a sample from the given connection

  OPTIONS:

    --adapter NAME
        ActiveRecord adapter to use

    --database NAME
        Name of database to sample

    --username USER
        Username for connection

    --password PASSWORD
        Password for connection

    --encoding ENCODING
        Encoding for connection

    --socket PATH
        Socket for connection

    --rows NUM
        Number of rows to sample per table

    --log PATH
        Log queries to PATH

  GLOBAL OPTIONS:

    -h, --help
        Display help documentation

    -v, --version
        Display version information

    -t, --trace
        Display backtrace when an error occurs

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
data_sampler-1.0.0 README
data_sampler-0.0.6 README
data_sampler-0.0.5 README
data_sampler-0.0.4 README