Module: SwitchDb::Database::Abstract
- Included in:
- Mysql
- Defined in:
- lib/switch_db/database/abstract.rb
Instance Method Summary collapse
- #create_database(_database_name) ⇒ Object
- #drop_database(_database_name) ⇒ Object
- #dump_database(_database_name, _output_path) ⇒ Object
- #import_database(_database_name, _database_path) ⇒ Object
Instance Method Details
#create_database(_database_name) ⇒ Object
8 9 10 |
# File 'lib/switch_db/database/abstract.rb', line 8 def create_database(_database_name) raise NotImplementedError end |
#drop_database(_database_name) ⇒ Object
4 5 6 |
# File 'lib/switch_db/database/abstract.rb', line 4 def drop_database(_database_name) raise NotImplementedError end |
#dump_database(_database_name, _output_path) ⇒ Object
16 17 18 |
# File 'lib/switch_db/database/abstract.rb', line 16 def dump_database(_database_name, _output_path) raise NotImplementedError end |
#import_database(_database_name, _database_path) ⇒ Object
12 13 14 |
# File 'lib/switch_db/database/abstract.rb', line 12 def import_database(_database_name, _database_path) raise NotImplementedError end |