Skip to content

CSV, eventually

Wednesday, 18 May 2005  |  jaroslaw staniek

Last month I've "stolen" code from KSpread's CSV import dialog, and now it's tweaked quite much:

  • support for setting primary key (including autodetection)
  • support for 'first row contains column names' flag (including autodetection)
  • column types are autodetected



Import is performed to a new table, within a single transaction, and (what's usual for Kexi) in a database-engine independent way, thanks to KexiDB layer.



As an extension of above, support for pasting clipboard contents will be added.

Next step for me will be stop conding and help my friends with design/discussions, to be sure everybody in the Team knows the plan for following two months or so.