QuoteSQL
Fredrik Lundh
fredrik at pythonware.com
Tue Sep 26 10:50:00 EDT 2006
Sybren Stuvel wrote:
> >>> cur.execute("select * from people where last_name in (%s)" % ','.join('%s' for i in t), t)
and now we're waiting for the "['%s']*len(t)" vs. "'%s' for i in t" benchmarks (and the
"consistency is more important than efficiency" and "creating extra objects is conceptually
wrong" followups, and the "it depends on what you mean by" followups to the followups)
</F>
More information about the Python-list
mailing list