Module: Backhoe

Defined in:
lib/backhoe.rb,
lib/backhoe/base.rb,
lib/backhoe/mysql.rb,
lib/backhoe/sqlite.rb,
lib/backhoe/version.rb,
lib/backhoe/postgresql.rb

Defined Under Namespace

Modules: MysqlSkipColumns Classes: Base, Mysql, Postgresql, Sqlite3

Constant Summary collapse

Mysql2 =
Mysql
VERSION =
"0.5.0"

Class Method Summary collapse

Class Method Details

.dump(file_path: Backhoe.file_path, **options) ⇒ Object



11
12
13
# File 'lib/backhoe.rb', line 11

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



15
16
17
# File 'lib/backhoe.rb', line 15

def load file_path: Backhoe.file_path
  autodetect_adapter.new(database_config, file_path).load
end