Hello,

I'm trying to add a column_property to recursively load and merge some
json column.

I have the following:
https://gist.github.com/silenius/1af1072abae5829f54584f1ea554e074 but I
cannot figure how can I replace the '5011' at line 11 (which is the
object primary key) with the "current" involved objet..?

For example when I'm doing dbsession.get(MyClass, 1234) I cannot figure
how reference the id in the column_property query

Any idea ?

Thanks!

-- 
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.

-- 
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/p4htucd3cmfazp5wjwtakmfpxkc75qxfgjl4n4h35p7rzrfvsf%40scdc3ayc36nm.

Attachment: signature.asc
Description: PGP signature

Reply via email to