I am trying to write simple table "replication".
In other words I am exporting data from the table on one machine using the
export_csv method and I would like to store them in an other table on
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?
Thanks for your hits..
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 Broytmann http://phd.pp.ru/ phd@...
Programmers don't die, they just GOSUB without RETURN.
Get latest updates about Open Source Projects, Conferences and News.