Re: Natural keys vs Aritficial Keys
From: Dave Hughes <dave_at_waveform.plus.com>
Date: Fri, 22 May 2009 19:19:47 +0100
Message-ID: <XICdnVras7cjcYvXnZ2dnUVZ8l6dnZ2d_at_brightview.co.uk>
Date: Fri, 22 May 2009 19:19:47 +0100
Message-ID: <XICdnVras7cjcYvXnZ2dnUVZ8l6dnZ2d_at_brightview.co.uk>
Bob Badour wrote:
> Dave Hughes wrote:
>
<snip>
>> Yes - Django's default ORM also defaults to auto-generated surrogate
>> keys for everything (it can handle non-auto-generated keys, but only
>> with a single column). However, many of the Python based web
>> environments are now moving to the rather impressive SQLAlchemy ORM
>> which handles "natural" keys just fine (including composites). I think
>> I'm right in saying Pylons and Turbogears already default to
>> SQLAlchemy. So, it's not all doom and gloom for those who prefer
>> natural keys :)
>
> But how many "Great Blunders" does the SQLAlchemy ORM make?
Cheers,
Dave. Received on Fri May 22 2009 - 20:19:47 CEST