Module: Backhoe
- Defined in:
- lib/backhoe.rb,
lib/backhoe/dump.rb,
lib/backhoe/load.rb,
lib/backhoe/version.rb,
lib/backhoe/database.rb
Defined Under Namespace
Classes: Database, Dump, Load
Constant Summary
collapse
- VERSION =
"0.10.1"
Class Method Summary
collapse
Class Method Details
.dump(path, skip_tables: [], skip_columns: {}) ⇒ Object
9
10
11
|
# File 'lib/backhoe.rb', line 9
def dump path, skip_tables: [], skip_columns: {}
Dump.new(Database.new, path, skip_tables, skip_columns).call
end
|
.load(path, drop_and_create: false) ⇒ Object
13
14
15
|
# File 'lib/backhoe.rb', line 13
def load path, drop_and_create: false
Load.new(Database.new, path, drop_and_create).call
end
|