Module: Backhoe
- Defined in:
- lib/backhoe.rb,
lib/backhoe/version.rb
Defined Under Namespace
Classes: Base, Mysql, Postgresql, Sqlite3
Constant Summary
collapse
- Mysql2 =
Mysql
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.dump(file_path: Backhoe.file_path, **options) ⇒ Object
9
10
11
|
# File 'lib/backhoe.rb', line 9
def dump file_path: Backhoe.file_path, **options
autodetect_adapter.new(database_config, file_path).dump **options
end
|
.load(file_path: Backhoe.file_path) ⇒ Object
13
14
15
|
# File 'lib/backhoe.rb', line 13
def load file_path: Backhoe.file_path
autodetect_adapter.new(database_config, file_path).load
end
|