module SandthornSequelProjection

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/sandthorn_sequel_projection.rb, line 29
def configure
  @configuration ||= Configuration.default
  yield(configuration) if block_given?
  start
end
default_event_store() click to toggle source
# File lib/sandthorn_sequel_projection.rb, line 43
def default_event_store
  SandthornSequelProjection.configuration.event_stores[:default]
end
find_event_store(name) click to toggle source
# File lib/sandthorn_sequel_projection.rb, line 39
def find_event_store(name)
  EventStore.new(name)
end
start() click to toggle source
# File lib/sandthorn_sequel_projection.rb, line 35
def start
  ProcessedEventsTracker.migrate!(configuration.db_connection)
end