[Twisted-Python] enterprise.row

Justin Ryan justin at gnubia.net
Mon Apr 7 03:44:37 EDT 2003


> What I have done with postgres is to generate the primay key using
> the nextval function on the sequence used for the serial column, setting
> the row object's primary key, and then inserting it. This makes the t.e
> code happy and you often need to know the new key anyway.

Could you post the code that does this, or a simple example of how you
are doing it?

Thanks!

-Justin





More information about the Twisted-Python mailing list