ah, that one I had put on the back burner back in the day...you can add a ticket for it...for now i think youll have to roll your own on that one (possibly using str() on Clause fragments to help you out).

On Mar 14, 2006, at 10:55 PM, Rick Morrision wrote:

Does anyone know a quick way to pull off "INSERT INTO SELECT FROM" in SA?

I knew it probably wouldn't work, but I tried the naive:

         T1.insert().execute(db.sql.select([T2.cols]))

and it, uh, doesn't work.

<'Select' object has no attribute 'get'>

Can selectables be used as input to .insert(), or am I just phrasing this wrong ?

Thanks,
Rick



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to