Method: PgDice::PgSliceManager#prep
- Defined in:
- lib/pgdice/pg_slice_manager.rb
#prep(params = {}) ⇒ Object
18 19 20 21 22 23 |
# File 'lib/pgdice/pg_slice_manager.rb', line 18 def prep(params = {}) table_name = params.fetch(:table_name) column_name = params.fetch(:column_name) period = params.fetch(:period) run_pgslice("prep #{table_name} #{column_name} #{period}", params[:dry_run]) end |