On Jun 29, 2:55 am, Marco Mariani <[EMAIL PROTECTED]> wrote: > 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)
thing.flush(), didn't realize that one was there. yep, using assign_mapper, didn't realize that save() wasn't necessary. that sounds like the answer. thanks, j --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

