From: G. <fra...@cl...> - 2003-07-17 16:16:17
|
Hi all, here's another feature I need for my project : I have several tables whose primary key is composed of two or three columns. You could tell me : add an id to your table and that's ok... but not for my needs (damned)! =20 So I'd like to implement support for that... As I want to do it clean, I think I'm going to realize a "Key" or "Id" obje= ct. This object would contain a list of Column objects, which together are the primary key its SQLRepr would be (imo) simple to generate, just a 'col1=3Dx AND col2=3Dy AND col3=3Dz' to replace in WHERE clauses for select, update and delete. I will start this soon, so I'd like to have some suggestions from SQLObject's dev&users before diving in Best Regards, Fran=E7ois Girault |