Hello SQLAlchemy,
i am new to sqlalchemy, i currently work on project which
needs sqlalchemy/informix integration.
Maybe someone can have a look on this:
>>> session = Session()
>>> session
<sqlalchemy.orm.session.Session object at ...>
>>> from sqlalchemy import MetaData
>>> metadata = MetaData(session.connection())
>>> metadata
MetaData(<sqlalchemy.engine.base.Connection object at ...
>>> from sqlalchemy import Table
>>> users = Table('ln_passwd', metadata, autoload=True)
>>> print users.c.az == "022301429"
ln_passwd.az = 1 <--- i guess this should be ln_passwd.az
= ?
>>> print users.insert(az='022301429')
INSERT INTO ln_passwd (az, az_key, passwort, berecht, versand,
e_m_dat, e_m_zeit, sb_id, ser_nr, s_flag, upd_count) VALUES (1, 2, 3,
4, 5, 6, 7, 8, 9, 10, 11)
So it seems that anything with the parameters goes wrong. I have no
idea where i can look for this problem.
If you need more information please let me know?
sqlalchemy 0.5.6
informixdb 2.5
Christian
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---