Sha256: f8541efc0f987862005a5577070d28304c90c91590a349ec768e4077251aa221

Contents?: true

Size: 433 Bytes

Versions: 10

Compression:

Stored size: 433 Bytes

Contents

require 'flydata/command/sync'
require 'flydata/command/mysql_command_base'

module Flydata
  module Command
    class Mysqldump < Sync
      include MysqlCommandBase

      def generate_command(dbconf, args)
        dbconf.delete('tables')
        dbconf[:custom_option_end] = args.join(' ')
        dbconf[:command] = 'mysqldump'
        FlydataCore::Mysql::CommandGenerator::generate_mysql_cmd(dbconf)
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
flydata-0.6.3 lib/flydata/command/mysqldump.rb
flydata-0.6.2 lib/flydata/command/mysqldump.rb
flydata-0.6.1 lib/flydata/command/mysqldump.rb
flydata-0.6.0 lib/flydata/command/mysqldump.rb
flydata-0.5.21 lib/flydata/command/mysqldump.rb
flydata-0.5.20 lib/flydata/command/mysqldump.rb
flydata-0.5.17 lib/flydata/command/mysqldump.rb
flydata-0.5.16 lib/flydata/command/mysqldump.rb
flydata-0.5.15 lib/flydata/command/mysqldump.rb
flydata-0.5.14 lib/flydata/command/mysqldump.rb