I'v get an error with this construction with migrating to 0.6.1
sList = []
if len(curDeps) > 0:
for item in curDeps:
sList.append(Orderitem.serivcecomments.like('%:' +
str(item) + '%'))
.............
.filter(or_( Orderitem.department_id.in_(curDeps),
(and_((or_(*sList)), Orderitem.isbtype==True)) )) \
............
--
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.