Hi,

I have a column which contains XML, this XML is parsed when a record
is loaded and object attributes are populated with values from this
XML. When I set an attribute, I would like to mark the XML column
modified (in property() setter). I wouldn't need to serialize all
attributes and assign a new value to the XML column explicitly when
only a single attribute changes. This would generate too much overhead
when I set many attributes subsequently. I'd like to just make the XML
column (or the whole record) dirty, so that I'm able to serialize
attributes to XML only in before_insert/before_update handlers in a
MapperExtension.

Is this possible with SQLAlchemy? I'm using 0.4.x.


Best regards,
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to