Cool. Well if it gets done I'll definitely use it. :)

I'll try and take a look myself at the parts you mentioned when I have some free time in the next few weeks. 


On Wed, Feb 16, 2011 at 2:38 AM, Oleg Broytman <> wrote:
On Wed, Feb 16, 2011 at 02:10:41AM -0800, Sam's Lists wrote:
> Are there any plans to change that?

  There is no just because this is the first time the question is
raised. I've added it to the TODO list:

> I assume it's a pretty complicated change, right?

  At the first glance it seems one needs to change SOForeignKey (and
perhaps SOCol), sqlmeta.add/delColumn(); SQLObject._SO_foreignKey() must
take into account the id could be any column, not only an id; the
current code could be preserved as a shortcut in case otherColumn is id.

    Oleg Broytman    
          Programmers don't die, they just GOSUB without RETURN.

The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
sqlobject-discuss mailing list