15 May 19:18
Re: Default collection class for unordered relations
From: Nick Murphy <njmurphy <at> gmail.com>
Subject: Re: Default collection class for unordered relations
Newsgroups: gmane.comp.python.sqlalchemy.user
Date: 2008-05-15 17:18:58 GMT
Subject: Re: Default collection class for unordered relations
Newsgroups: gmane.comp.python.sqlalchemy.user
Date: 2008-05-15 17:18:58 GMT
> mmh. between db's - maybe u're right. But the order will also change > depending on current hash-values between 2 runs on otherwise same > system... There's plenty of difficulties to get a repeatable flow for > tests etc already. That's exactly my point in fact -- unless order_by is specified, a collection with a defined order is illogical. Using an unordered multiset instead would ensure that users don't accidentally rely on this behavior. Of course, if order_by is given, a list makes perfect sense. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy <at> googlegroups.com To unsubscribe from this group, send email to sqlalchemy-unsubscribe <at> googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
RSS Feed