On Fri, May 23, 2008 at 02:09:33PM +0200, Petr Jake?? wrote: > It looks like export_csv does not export id (auto generated primary keys) > from the table. > > Is there a way how to include id keys in the exported csv data?
I think it is MyTable.extraCSVColumns = (attr, (attr, title), (...), ...) # tuple or list of # attributes names or pairs (attr, title) Read sqlobject/util/csvexport.py, function _find_columns(). Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss