On Jun 4, 2007, at 12:09 PM, Neil Blakey-Milner wrote:
>
> What do you think of me putting up the full pathological-case code
> from Django ORM and SQLAlchemy on the SQLAlchemy wiki, and maybe see
> if there are improvements to be found for that as well (since it uses
> ILIKE and not equality and a bunch of AND and OR statements, the new
> filter_by improvements can't be used for it).
hmmmm...i dont like ILIKE (which isnt even present i every database)
by default. i think its best special operators just remain as
clauseelements, i.e.
filter(Class.c.attr.like('foo'))
on the subject of case sensitivity, there is an aging but ambitious
ticket to address it in a generic way, #487.
> A bunch of real-life queries and the best code to achieve them would
> be invaluable on the wiki. Then, when changes to the API are
> discussed, the examples can serve as a baseline for the types of
> things that are being made easier or harder.
yes that would be awesome. let me know what i can do to help.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---