switch to hashref based for command args and results
[dbsrgits/DBIx-Data-Store-old.git] / lib / DBIx / Data / Store / Command / Stream.pm
index 96323e6..e0b0e1d 100644 (file)
@@ -4,10 +4,11 @@ use Moose;
 use Method::Signatures::Simple;
 use DBIx::Data::Stream::STH;
 
+has 'column_order' => (is => 'ro', required => 1);
+
 method execute {
-  my $sth = $self->_new_active_sth;
   DBIx::Data::Stream::STH->new(
-    sth => $sth
+    sth => $self->_new_active_sth, column_order => $self->column_order,
   );
 }