[sqlalchemy] startswith operator Oracle

2010-04-21 Thread Grimsqueaker
It looks as though SQLAlchemy doesn't use the startswith() operator properly in Oracle (using SA 0.6). col1.startswth(col2) gives me col1 LIKE col2 + '%%' which should be col1 LIKE col2 || '%%' . Am I doing something wrong or should this be reported? Thanks -- You received this message

Re: [sqlalchemy] startswith operator Oracle

2010-04-21 Thread Michael Bayer
Grimsqueaker wrote: It looks as though SQLAlchemy doesn't use the startswith() operator properly in Oracle (using SA 0.6). col1.startswth(col2) gives me col1 LIKE col2 + '%%' which should be col1 LIKE col2 || '%%' . Am I doing something wrong or should this be reported? that looks