Module: SwitchDb::Database::Abstract

Included in:
Mysql
Defined in:
lib/switch_db/database/abstract.rb

Instance Method Summary collapse

Instance Method Details

#create_database(_database_name) ⇒ Object

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


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

Raises:

  • (NotImplementedError)


12
13
14
# File 'lib/switch_db/database/abstract.rb', line 12

def import_database(_database_name, _database_path)
  raise NotImplementedError
end