python - Google App Engine: Modifying 1000 entities -


i have 1000 user account entities this:

class useraccount(ndb.model):     email = ndb.stringproperty() 

some of these email values contain uppercase letters johnathandough@email.com. want select email values useraccount entities , apply python's email.lower(). how can efficiently, , importantly, without errors?

note: email values important login, cannot afford mess up. there way backup data in case of event make mistake?

thank you.

yes, off course. if datastore administration experimental feature can backup , restore data without coding. follow instruction backup flow: backing data. processing data instead, efficient way use mapreduce library.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -