On 11/10/2016 11:32 AM, Chris Angelico wrote:
> The easiest way is to use a parameterized query:
> 
> cur.execute("insert into beacon VALUES(null, %s)", (beacon,))
> 
> I don't understand why so many people conflate parameterized with
> prepared. "Prepared statements" have a two-step execution.
> "Parameterized queries" needn't.

Good point. Yes that's what I was going for but forgot the term.

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to