module CouchdbToSql
Constants
- COUCHDB_TO_SQL_SEQUENCES_TABLE
- Error
- InvalidDataError
Public Instance Methods
changes(database, &block)
click to toggle source
# File lib/couchdb_to_sql.rb, line 31 def changes(database, &block) (@changes ||= []) << Changes.new(database, &block) end
start()
click to toggle source
# File lib/couchdb_to_sql.rb, line 35 def start threads = [] @changes.each do |changes| threads << Thread.new(changes, &:start) end threads.each(&:join) end