On Apr 20, 2011, at 7:48 AM, Kent wrote: > Just a suggestion, but wouldn't we want to always default > viewonly=True when lazy='dynamic'? > > Or are there use cases such that the orm can actually still be > expected to understand the relationship correctly even when unknown > filter criteria are added?
"dynamic" relations are completely mutable from the base attribute. you can append() and remove() items from them and the changes are held in a queue thats released at flush time. there's no case that additional filtered criteria comes into play here, as the resulting object is a plain Query and has no append()/remove() methods. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.