how can i mark as new an object when is dirty ?

an example:
obj = session.query(cls).limit(1).first(); # generate select and fetch/build
obj.is_deleted = True  #change data
session.commit() #thats must generate INSERT not update statement


-- 
Saygılar && İyi Çalışmalar
Timu EREN ( a.k.a selam )

--

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