check session.dirty before calling flush()?

On 2/7/07, Paul K <[EMAIL PROTECTED]> wrote:
>
> Is there a way I can tell that SQLAlchemy has flushed data to the
> database sometime within the current session and therefore causing a
> potential change to the database?  I have an application that needs to
> provide a sqldump ability, but only if the database has changed.  With
> sqlite saving to a file, I can be sure enough using an md5sum--however
> I'd prefer a non-database specific solution.

--~--~---------~--~----~------------~-------~--~----~
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