Figured out how to run the called procedure. sql = db.sa.text("select trans_value from t(:totrans, :username)", bindparams=[db.sa.bindparam('totrans', 'some text orig'), db.sa.bindparam('username', me.name)]) result = session.execute(sql).fetchone() print result (u'some text orig auf Deutsch',)
But still stuck on how to make this an additional column using declarative base and obtaining "some text orig" from another column in the same table. Is this at all possible? I would like to use this to resolve i18n texts which are stored in tables. Werner --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---