... | ... |
@@ -3003,6 +3003,7 @@ $model = $dbi->create_model(table => $table1, primary_key => $key1); |
3003 | 3003 |
$model->insert($row); |
3004 | 3004 |
$query = $model->select(id => 1, query => 1); |
3005 | 3005 |
$model->execute($query, {$key7 => 11}, id => 1, filter => {"$table1.$key1" => sub { $_[0] * 2 }}); |
3006 |
+$query = undef; |
|
3006 | 3007 |
is_deeply($dbi->select(table => $table1)->one, |
3007 | 3008 |
{$key7 => 10, $key6 => 2, $key5 => 3, $key4 => 4, $key3 => 5, $key2 => 5, $key1 => 2}, |
3008 | 3009 |
); |