Hi,

A while back I asked about using views, and got some good feedback.  Thanks
all.

One thing I've learned is that SQLAlchemy wants primary keys for the
entities that reference the views.  Since many of my views don't have any
single unique column, and I'm not particularly seeing the need (in this
case), is it reasonable to just [CREATE SEQUENCE whatever CYCLE] in
PostgreSQL and then in the view, issue a [SELECT nextval('whatever'), ...]
to get a unique value that can satisfy SQLAlchemy's need?

Thanks!
-- 
Ubuntu Linux DC LoCo
Washington, DC
http://dc.ubuntu-us.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to