...

What you would do, both in psycopg2 and 3, would be something like:

     cursor.execute("update mytable set jsfield=%s where id = any(%s)",
     (Json(data), idList))

Code like this should work in both versions.


perfect :) thank you very much

--
Oswaldo Hernández


Reply via email to