great, thanks !

i am taking notes on all this.

shawn

On 7/28/07, Christopher Armstrong <[EMAIL PROTECTED]> wrote:
>
> On 7/28/07, shawn bright <[EMAIL PROTECTED]> wrote:
> > this one is basic enough,
> > how do i delete a row from a database ?
> >
> > like this, if i have :
> >
> > s = store.get(Customer, 14)
> >
> > how to i not only get rid of s, but delete it from the database ?
>
> There are two common ways to delete stuff.
>
> store.remove(o), where o is the object representing the row you want to
> remove
>
> store.find(Foo, Foo.x == y).remove(), which deletes all rows matching
> the specified  query.
>
> --
> Christopher Armstrong
> International Man of Twistery
> http://radix.twistedmatrix.com/
> http://twistedmatrix.com/
> http://canonical.com/
>
-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to