On Friday, September 14, 2012 7:08:05 AM UTC-7, François Beausoleil wrote:
>
> Hi! 
>
> I expected Sequel to accept and process this with no issues: 
>
> DB[:table].insert( 
>   [ :a, :b], 
>   [ 
>     [1, 2], 
>     [2, 3], 
>     [3, 4]]) 
>
> (these are really constant values, in my test suite) 
>
> This was rejected because the number of columns wasn't the same (a, b) vs 
> 3 entries in the 2nd parameter. 
>
> Jeremy, would you accept a patch that accepted such values? 
>

What you want is already in Sequel, it's called Dataset#import.

Jeremy

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sequel-talk/-/2klBh4_LZx4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to