LWN.net Logo

Yup

Yup

Posted Dec 19, 2011 19:35 UTC (Mon) by fatrat (subscriber, #1518)
In reply to: Yup by khim
Parent article: Cracks in the Foundation (PHP Advent)

Have you seen Python's SQLAlchemy? It provides an ORM layer but also a really good SQL level layer.


(Log in to post comments)

Good try...

Posted Dec 20, 2011 0:35 UTC (Tue) by khim (subscriber, #9252) [Link]

No, I've never used SQL from python so I never used SQLAlchemy. Looks like fine ORM toolkit, though. As for SQL… as any good SQL driver it includes dialects. This is where you can specify sequences in Oracle, disable autoincrement in MySQL, etc.

Even so: I can not see how exactly you can chain multiple “INSERT”s in one “BEGIN”/“END” Oracle statement or execute multiquery in MySQL (like you can do with PHP).

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds