On Tuesday, December 18, 2012 4:03:02 PM UTC-8, [email protected] wrote:
> I'm trying to export a csv to the table in MySQL. *'db.copy_into(....)'* does > not seem to be working. Is there an alternate command to bulk load the csv > to the table without using the INSERT INTO or any line-by-line insert > statement? > Database#copy_into is specific to the postgres and jdbc/postgres adapters. There is nothing similar for MySQL, though you can use Dataset#import to add many rows in a single database query. You will have to parse the csv yourself to do this. Thanks, 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/-/NrDaXcwur9QJ. 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.
