Storm vs. SQLAlchemy
Lucas Huerta
huerta.lucas at gmail.com
Wed Jul 11 06:22:17 BST 2007
Hello Gustavo,
One of the things that makes an ORM like SQLObject handy is the fact that it
can generate the schema in a database agnostic manner. Since Storm doesn't
handle schema management, could I conclude that vendor specific ddl must be
handled manually?
Furthermore, I noticed an example in the Storm tutorial which appeared to
use raw SQL:
>>> ruy.name = SQL("(SELECT name || ' Ritcher' FROM person WHERE id=4)")
Is it possible with Storm, to generate SQL queries programatically, and in a
database agnostic
manner?
Regards,
Lucas
- Storm doesn't need the schema to be declared on the Python side.
That's a side-effect of the fact that in Canonical we like to
do schema management with SQL.
- Because of that and the way that Storm is put together, building
backends is much simpler.
- It also means that Storm doesn't handle schema management.
--
Gustavo Niemeyer
http://niemeyer.net
--
storm mailing list
storm at lists.canonical.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/storm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/mailman/private/storm/attachments/20070710/49c811e3/attachment.htm
More information about the storm
mailing list