All,

I'm writing code that is using mappers for a database.  I'm currently
going in and creating objects based off of other objects that will then
need to be deleted.  (Meaning I'm adding records to tables based on
other records that will be removed entirely).

I'm wondering if there is already a method to take an object that
represents a row and generate delete, insert or update statements from
it.   OR  if there is a way to run through my script and instead of
session.flush() actually making changes to the database, having it
generate the SQL that needs to be done, and not touch the database.
That way a human can go back through and verify the changes before
committing them to the database.

Brian


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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