On Jul 17, 11:53 am, Xavier Lange <[email protected]> wrote: > Yeah, it's an array of hashes with the values listed in the import > list. Any ideas what else I should try?
You should try using multi_insert, which takes just a single array of hashes. If you want to use import, you should be providing an array of columns as the first argument, and an array of arrays (not hashes) of values for the second argument. Looking at the code, there might be a bug if the you are trying to insert into two columns at once, but that shouldn't be hard to fix. Jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. 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 -~----------~----~----~----~------~----~------~--~---
