Greetings,
how should I write the .values() section of a CORE update() statement to
render the following
postgres syntax?

The data column is a JSON(B) and contains a dict object.

UPDATE settings
SET data = data || '{"key": "value"}'
WHERE key = 'my_param';

Thanks,
Massimiliano

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/CADKhPGSpo79VpastaH-PJMPQ-WDYFLEkMeCXVhTm0f9U4zJQLw%40mail.gmail.com.

Reply via email to