From: Chris W. <ch...@cw...> - 2003-11-12 17:51:07
|
Stathy G. Touloumis wrote: > So would you recommend rolling my own relationship config to prevent > upgrade conflicts? Are there samples or code I could be pointed to for > doing this in the SPOPS config? I'm going to put out SPOPS 0.80 shortly (next day or two). But the configuration will look like this: # old way, still works links_to => { 'Other::Object' => 'link_table' }, # optional new way links_to => { 'Other::Object' => { table => 'link_table', to_id_field => 'my_id', from_id_field => 'your_id', alias => 'othername' }, }, If you look in CVS you can see the docs for this: http://cvs.sourceforge.net/viewcvs.py/spops/SPOPS/doc/Manual/Relationships.pod?rev=3.2&view=auto Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |