On Wed, Jun 20, 2007 at 01:51:56PM -0300, Leandro Melo de Sales wrote:
> I want to use the internel sqloject self.id to identify a specific
> object. I want to change the start value to 0, not to 1. In this well
> I can do MyClass.get(0) as the first database Item. How can I change
> the start value to 0, instand of 1.
Autoincrement is performed by DB, not SQLObject. In Postgres one can
manipulate the sequence that is used for autoincremented id.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ phd@...
Programmers don't die, they just GOSUB without RETURN.
|