Hi Massimo!
In the past, I have used SQLAlchemy to connect to Informix (using
the db2 driver), but it was for pure lazyness -- I had to write
everything by hand, and my application already was using
SQLAlchemy, so ... But that was back in 2007. Those codes are long
dead and not in my possession.
Let's see if I can address those problems better for you:
1. "
Does anyone know if the Informix support is
something will be added?": you can see all official dialects
supported by SQLAlchemy in here:
http://docs.sqlalchemy.org/en/rel_0_9/dialects/index.html
All supported dialects in SQLAlchemy have something in common
(IMHO): SQL, obviously. Informix have support to SQL, of couse,
but it also have a lot of other tools, spatial support, JSON and
so on; that I may find hard see completely supported by
SQLAlchemy. Of course, there are some engines that looks quite
familiar to these, PostgreSQL, -but- I think it's support in
SQLAlchemy is a completely different subject.
Are you planning to use SQLAlchemy ORM on top of Informix for
common SQL tasks? If so, you can adapt - or even contribute - to
the ibm_db_sa adapter :) Here's a good lecture:
http://techspot.zzzeek.org/2012/10/25/supporting-a-very-interesting-new-database/
-- but, of course, the SQLAlchemy source code is the best way to
know how dialects works under the hood.
If you're planning to use with the new JSON integration, boy I
think you should stick to the roots somewhere, away from
SQLAlchemy and close to Mongo's adapters (somewhere else I had
bumped with
MongoAlchemy,
that provides a quite similar API to Mongo as SQLAlchemy offers to
others RDBMs, but IMHO it looks like a huge waste of code time
since SQL and NoSQL databases have just one thing in common: they
store data somewhere).
2. "
Does this mean I can only use SQLAlchemy Core
features and not the ORM?": I don't know about that anymore,
since everything I write to Informix (if and when applied) are not
SQLAlchemy (or even Python) related, at all.
If you provide more information about what you're trying to
accomplish, it may still be possible with SQLAlcheny, given some
circumstances.
Best regards,
Richard.