[storm] Altering data, syntax with the ORM

akira nhytro-python at web.de
Fri Sep 28 21:57:14 BST 2007


Hi all,

from the tutorial, one can alter data using set, I have the problem that 
this would be weary for large sets of data, is there another way to do this?

Example of what I´m doing now:

username_found = jobseeker_store.find(User, User.username == username).set(
                                                                                   
username=username,
                                                                                   
email=email,
                                                                                   
password=password,
                                                                                   
modifiedby_username = session["username"],
                                                                                   
modifiedon = datetime.datetime.now(),
                                                                                   
modifiedby_id = session["user_id"],
                                                                                      
)


Thanks!



More information about the storm mailing list