Sanjay ha scritto: >> thing.save() >> session.flush() >> > > I use just session.flush() or thing.flush(). What is thing.save() used > for? >
It's needed when your mappers are not implicitly attached to a session. If you use assign_mapper like most turbogearers, save() is useless. (flush() too, because we're going to end the request real soon anyway) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

