Hi!

How does one drop all the rows matching a given id or field value? I 
tried this:

class Profile(object):
    __storm_table__ = "test_delete"
    id = Int(primary=True)
    field1= Unicode()
    field2= Unicode()
    field3= Unicode()
    field4= Unicode()
  

store = Store(database)

resultset = store.find(Profile, Profile.id == 1).remove()

but I  received an error. What should be the right syntax? Thanks

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to