Sha256: a7488cac11879204f91e56436d7425ab54c164274d2156a6a77674b482526f36
Contents?: true
Size: 433 Bytes
Versions: 4
Compression:
Stored size: 433 Bytes
Contents
require 'sequel' require 'sqlite3' require 'pathname' require 'wyrm/dump_schema.rb' db = Sequel.connect 'sqlite:/home/panic/.qtstalker/new-trading.sqlite3' # pump = DbPump.new db, :positions, codec: :yaml dumper = DumpSchema.new db, '/tmp/test', pump: lambda{|_| DbPump.new db, nil, codec: :yaml} dumper = DumpSchema.new db, '/tmp/test', pump: ->(dump_schema){ DbPump.new dump_schema.src_db, nil, codec: :yaml} dumper.dump_tables
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
wyrm-0.2.0 | snippets/console.rb |
wyrm-0.1.4 | snippets/console.rb |
wyrm-0.1.3 | snippets/console.rb |
wyrm-0.1.2 | snippets/console.rb |