Class: RubyEventStore::ROM::Changesets::CreateEvents

Inherits:
ROM::Changeset::Create
  • Object
show all
Defined in:
lib/ruby_event_store/rom/changesets/create_events.rb

Instance Method Summary collapse

Instance Method Details

#commitObject



17
18
19
# File 'lib/ruby_event_store/rom/changesets/create_events.rb', line 17

def commit
  relation.multi_insert(to_a)
end