[sqlalchemy] SQLAlchemy - Problem with an association table and dates in primary join

2010-03-04 Thread Richard Lopes
has not replaced oldrelation in the resource object Any idea ? Thanks, Richard Lopes -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email

[sqlalchemy] Can we use dates to define a relation with the mapper ?

2010-03-04 Thread Richard Lopes
in the mapper. If I replace the end_date by a flag column string or integer and do a comparison on the flag I get the proper behaviour, but I do want to use dates. Any help is welcome. Thanks, Richard Lopes -- You received this message because you are subscribed to the Google Groups

Re: [sqlalchemy] Can we use dates to define a relation with the mapper ?

2010-03-04 Thread Richard Lopes
Hi, Thanks for the help but I think I got it working. Look here: http://stackoverflow.com/questions/2384438/sqlalchemy-can-we-use-date-comparison-in-relation-definition Cheers, Richard 2010/3/5 Michael Trier mtr...@gmail.com Hello, On Mar 4, 2010, at 10:50 PM, Richard Lopes wrote: Hi