From: Ian B. <ia...@co...> - 2003-07-17 18:40:23
|
On Thu, 2003-07-17 at 11:09, Fran=E7ois Girault wrote: > Hi all, >=20 > here's another feature I need for my project : I have several tables > whose primary key is composed of two or three columns. Well, if there's going to be composite keys, that might as well be generalized to all the columns (i.e., any attribute could be a composite of several columns). The .id should remain largely the same, except it becomes a tuple. The individual columns should not be individually accessible from Python (except like .id[0], .id[1], etc). Implementation-wise, I'm not sure, that's a messy issue. Ian |