you got it, r5484.
On Dec 17, 2008, at 2:31 PM, [email protected] wrote: > On Wednesday 17 December 2008 18:11:43 Michael Bayer wrote: >> On Dec 17, 2008, at 5:35 AM, [email protected] wrote: >>> i found some discrepancies which may or may not be a bug. >>> When a many2many implicit assoc via secondary_table is setup with >>> view_only=True: >>> a) proploader.remote_side contains only the primaryjoin item >>> (which is probably ok, i dont know what it's used for), so i have >>> to dig secondary_synchronize_pairs >>> >>> b) the query(A).filter( A.m2mx.contains( someX)) >>> produces >>> ...WHERE ... AND "mmt_B_h_2_X_1".right_id = "X".db_id >>> instead of >>> ...WHERE ... AND "mmt_B_g_2_X_1".right_id = ? >>> >>> is b) bug or intentional? >>> if intentional, how i can do that ? >> >> I see "bug" plus no test case...... :) >> >> does the behavior change if you turn viewonly False ? > without view_only all is fine. > there is some mentioning of "relaxed checking" around the view_only > option, so i wasn't sure what that means. > > > > <a.py> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---
