Re: [sqlalchemy] Generated update command is alway schosing alternative field names

2013-07-12 Thread Richard Gomes
else: expr = sqlalchemy.sql.expression.and_(expr, eq) result = sqlalchemy.update(table, *args, **kwargs).values(fields).where(expr) else: result = sqlalchemy.update(table, *args, **kwargs) return result Richard Gomes http

[sqlalchemy] Generated update command is alway schosing alternative field names

2013-07-11 Thread Richard Gomes
hello, I've previously defined inserts and updates by hand in my application, which is working fine, not using SQLAlchemy at the moment. At this point, I'd like to employ SQLAlchemy to generate these inserts and updates for me. And that's all. I mean: just generate the queries for me. I'm *not*

Re: [sqlalchemy] Generated update command is alway schosing alternative field names

2013-07-11 Thread Richard Gomes
company_valuation_measures.symbol = %(symbol)s AND company_valuation_measures.date = %(date)s Cheers Richard Gomes http://rgomes.info +44(77)9955-6813 On 11/07/13 19:06, Michael Bayer wrote: On Jul 11, 2013, at 11:30 AM, Richard Gomes rgomes.i...@gmail.com mailto:rgomes.i...@gmail.com wrote