Thread: [Sqlalchemy-tickets] [sqlalchemy] #1153: InstrumentedAttribute doesn't pass keyword arguments
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2008-08-25 09:56:40
|
#1153: InstrumentedAttribute doesn't pass keyword arguments ------------------------------+--------------------------------------------- Reporter: guest | Owner: zzzeek Type: defect | Status: new Priority: medium | Milestone: 0.5.0 Component: sql | Severity: no triage selected yet Keywords: escape, operator | Status_field: awaiting triage ------------------------------+--------------------------------------------- Hi! In contrast to {{{ InstrumentedAttribute.startswith }}} {{{ InstrumentedAttribute.contains }}} does not pass contains keyword arguments like {{{ escape }}} to the underlying operators. So, I can't provide an escape character this way. A workaround is of course to use .like. I used the following version 0.5.0beta3 Best regards, Michael -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1153> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |
From: sqlalchemy <mi...@zz...> - 2008-08-27 15:39:59
|
#1153: InstrumentedAttribute doesn't pass keyword arguments -------------------------+-------------------------------------------------- Reporter: guest | Owner: zzzeek Type: defect | Status: new Priority: medium | Milestone: 0.5.0 Component: orm | Severity: trivial - <10 minutes Resolution: | Keywords: escape, operator Status_field: in queue | -------------------------+-------------------------------------------------- Changes (by zzzeek): * component: sql => orm * severity: no triage selected yet => trivial - <10 minutes * status_field: awaiting triage => in queue -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1153#comment:1> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |
From: sqlalchemy <mi...@zz...> - 2008-09-07 01:31:34
|
#1153: InstrumentedAttribute doesn't pass keyword arguments -------------------------+-------------------------------------------------- Reporter: guest | Owner: zzzeek Type: defect | Status: closed Priority: medium | Milestone: 0.5.0 Component: orm | Severity: trivial - <10 minutes Resolution: fixed | Keywords: escape, operator Status_field: in queue | -------------------------+-------------------------------------------------- Changes (by zzzeek): * status: new => closed * resolution: => fixed Comment: I'm thinking you just meant `contains()` since `startswith()` doesn't have this issue. r5090. -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1153#comment:2> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |