Sha256: b96a546a78d70c5b4b21c3d877bfa87180905fe918ea77f4f0a9cb48838472eb

Contents?: true

Size: 1.11 KB

Versions: 3

Compression:

Stored size: 1.11 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 sampler utility will
take care that referential dependencies are fulfilled by recursively fetching any rows referred to by the sample.

  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

3 entries across 3 versions & 1 rubygems

Version Path
data_sampler-0.0.3 README
data_sampler-0.0.2 README
data_sampler-0.0.1 README