I am working on a app using SQLAlchemy's ORM layer to interface to the
database, but I am running into an issue that if an object has
'complicated' property, like a UUID, that SQLAlchemy doesn't know how to
handle. One option would be to make the propery actually only hold a
database suitable representation, and I see an option to add a
'reconstructor' to convert a value read from the database into an
object. Is there a similar way that when writing the object, to indicate
how to convert the object into a format that can be put into the database?

-- 
Richard Damon

-- 
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/a67e28b7-cd9e-174d-2f6e-cd38c9122f7d%40Damon-Family.org.

Reply via email to