CREATE OR REPLACE FUNCTION "update_json"(original json, update_obj json)
a_dictionary = dict(...)
value = sqlalchemy.sql.func.update_json(a_json_column, a_dictionary)
table.update().values(a_json_column=value)
sqlalchemy.exc.ProgrammingError: (ProgrammingError) can't adapt type 'dict'
from psycopg2.extras import Json
a_dictionary = Json(a_dictionary)
sqlalchemy.exc.ProgrammingError: (ProgrammingError) function update_json_with_oplog_entry(json, unknown) does not exist
--
You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+...@googlegroups.com.
To post to this group, send email to sqlal...@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.