[sqlalchemy] Re: Newbie mapper question

2010-04-13 Thread Damien Tougas
Hello Connor, That worked great! Thanks for the tip, it makes sense to me now why you would do it that way. On Apr 7, 5:13 pm, Conor conor.edward.da...@gmail.com wrote: Seehttp://www.sqlalchemy.org/docs/05/mappers.html#mapping-a-class-agains... for an example for mapping to arbitrary selects.

[sqlalchemy] Newbie mapper question

2010-04-07 Thread Damien Tougas
, sel) That didn't work correctly, so I am somewhat at a loss as to how to handle that function in the select statement. Does anyone have any suggestions? Thanks, -- Damien -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send

[sqlalchemy] Join on a non-normalized model

2009-03-17 Thread Damien
Hello list, I need some advice on setting a one-to-many join in my particular case (non-normalized db model) I have the following situation: - 2 tables with a 1..n join - note: the references table field is not a primary key (I have to work on a non-normalized model, that's life) - I need to