garaio/data-import — Issue #1: sequel-definition to allow plain direct access
Author: senny
Created: 2011-12-19 10:47:21+00:00
State: open

It would be really nice to handle direct database access with sequel trough data-import. This way you could write "script-like" definitions with sequel and add dependencies as needed. You could then mix simple mappings and scripts as you please.

just some thoughts on a possible api:

```ruby
script 'Update Status' do
dependency 'Animals'

execute do
target[:animals].filter(:status => [1,5,6]).update(:status => 1)
target[:animals].filter(:status => [2,3,4]).update(:status => 2)
end
end
```