Re: [SQLObject] Alternate Sequence Name
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Ivo v. d. W. <vla...@gm...> - 2004-06-25 18:19:00
|
On Fri, 25 Jun 2004 13:22:29 +0000 (UTC), Carroll Kong <me...@ca...> wrote: > > Using Postgresql with SQLObject (svn updated a few days ago, shouldn't matter in > this case anyway) > > I created a "writeable" view (using rules). However because the viewname is > different than the actual primary key, then my inserts fail > I ran into exactly the same problem when experimenting with views, and I ran into it recently again when I wanted to use a global sequence to get unique id's across tables (don't ask why :) I'd like a feature like this. It should probably part of the id column definition, which is not present at this moment (why can't id columns be defined explicitly?) Cheers Ivo |