On Sep 9, 2007, at 4:49 PM, [EMAIL PROTECTED] wrote:

> now back to that argument, months ago:
>  - how to make same code work with generative and non-generative api?
> now i need to do:
>
> sel = select(...)
> xx = sel.correlate(..)
> if not _v03: sel = xx
> ...use-the-sel...
>
> this now is just one place, big deal. But in some wider usage...
> Anyway, food for thought... and/or documentation.

i dunno, make a function correlate() ?

def correlate(select, values):
        s = select.correlate(values)
         return s or select



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to