Oh ok, it always bothered me that I was using instance.flush() so I
guess it's good that I was forced to stop doing it.

Could I use objectstore.flush() ? I am using Pylons and flushing the
session is a fairly long line.

Also what happened to the clear() method for instance arrays? For a
'has_many' field, if I wanted to remove all entries from the object I
used to be able to do 'clear()' but now that's missing too.

Stou

On Aug 13, 4:07 pm, Jonathon Anderson <[EMAIL PROTECTED]> wrote:
> This is implemented in Elixir, but is a policy decision coming from
> SA. 
> Readhttp://groups.google.com/group/sqlalchemy/browse_thread/thread/600bc8...
>
> And replace
>
>  instance.flush()
>
> with
>
>  session.flush([instance])
>
> ~jon
>
> On Aug 13, 3:03 pm, Stou Sandalski <[EMAIL PROTECTED]> wrote:
>
> > I just installed elixir from svn, and it seems that the orm object
> > flush() method is gone... I also upgraded SQLAlchemy to 0.4beta1, I am
> > not sure if its Elixir or SA.  Is this a bug or a feature?
>
> > This no longer works:
>
> > class Foo(Entity):
> > ....
>
> > f = Foo(...)
> > f.flush()
>
> > Regards,
>
> > Stou


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" 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/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to