postgres-copy
postgres-copy copied to clipboard
Skip columns not present in table?
When copying from CSV to DB, would there be any way of skipping a column if it doesn't map to any table row in the DB?
@eric-khoury have you used the option to specify the columns as in the README example:
User.copy_from "/tmp/users.csv", :map => {'name' => 'first_name'}