[sqlalchemy] Re: Can you declaratively concatenate two columns

2011-01-25 Thread Royce
,course_num)])) How ever this next line doesn't work even thought the docs seem to imply that it should work. course_name = column_property(course_code + course_num) Cheers Royce -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post

[sqlalchemy] Can you declaratively concatenate two columns

2011-01-24 Thread Royce
(Course.course_code, Course.course_num) ) query = query.filter( func.CONCAT(Course.course_code, Course.course_num).op('regexp')('^A.*4') ) Cheers Royce -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalchemy

[sqlalchemy] using __mapper_args__ with Declarative ORM

2010-11-16 Thread Royce
unhashable type: 'list' What am I doing wrong ? I am fairly sure I am only doing what the documentation says. Thanks for any help Royce -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalch