Commit | Line | Data |
---|---|---|
65b76960 | 1 | package DBIx::Data::Store::Command::Stream; |
2 | ||
3 | use Moose; | |
4 | use Method::Signatures::Simple; | |
5 | use DBIx::Data::Stream::STH; | |
6 | ||
3347c67e | 7 | has 'column_order' => (is => 'ro', required => 1); |
8 | ||
65b76960 | 9 | method execute { |
65b76960 | 10 | DBIx::Data::Stream::STH->new( |
3347c67e | 11 | sth => $self->_new_active_sth, column_order => $self->column_order, |
65b76960 | 12 | ); |
13 | } | |
14 | ||
15 | with 'DBIx::Data::Store::Command'; | |
16 | ||
17 | __PACKAGE__->meta->make_immutable; | |
18 | ||
19 | 1; |