[sqlalchemy] Re: SQLAlchemy denormalization.

2007-11-29 Thread Michael Bayer
On Nov 29, 2007, at 8:10 AM, PaStIcHiO wrote: Hi to everyone: i have a question for you, since i haven't found the solution in the docs. Is there such a way to store in a extra column an information that belongs to some property of an object? I'll try to be clear with an example: I

[sqlalchemy] Re: SQLAlchemy denormalization.

2007-11-29 Thread Rick Morrison
Another technique to think about would be to enumerate the child addresses with a small integer value, say sequence. You can then add the order_by to the relation to fetch the addresses in sequence order, and by convention the first address in the result list -- the one with min(sequence) in the