used trial an error, I always forget the "commit" :-)

from storm.locals import *


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

store = Store(database)

resultset = store.find(Profile, Profile.field1 == u"man").remove()
#store.execute("DELETE FROM table_profile")
store.commit()


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

Reply via email to