cleanup last insert id handling
[dbsrgits/DBIx-Data-Store-old.git] / lib / DBIx / Data / Store / Command / Closure.pm
1 package DBIx::Data::Store::Command::Closure;
2
3 use Moose;
4 use Method::Signatures::Simple;
5
6 has [ 'run', 'against' ] => (is => 'ro', required => 1);
7
8 method execute {
9   $self->against->run($self->run);
10 }
11
12 __PACKAGE__->meta->make_immutable;
13
14 1;