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
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*
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