Hi,

Is there something additional that is needed to delete via the remote
api console?  Is there some transaction logic needed?

I try it and it seems to work, asks for userid and password and makes
all the remote_api calls but when it finishes NONE of the items are
deleted.

For example, after imports in the app engine console:

## LOAD keys
>>> results = Models.ResultX.all(keys_only=True).filter('activity = ', 
>>> db.Key.from_path(Models.ActivityX.kind(),'hash_13
aae4091b23a8d2c7e90b3331135fafe8e73d40')).fetch(10000)
No handlers could be found for logger
"google.appengine.tools.appengine_rpc"
Username:x...@gmail.com
Password:
>>> len(results)
2000
>>> for i in xrange(0,len(results),500):
...   temp = results[i:i+500]
...   db.delete(temp)
...   print i

>>> results = Models.ResultX.all(keys_only=True).filter('activity = ', 
>>> db.Key.from_path(Models.ActivityX.kind(),'hash_13
aae4091b23a8d2c7e90b3331135fafe8e73d40')).fetch(10000)

>>> len(results)
2000

I would expect len(results) to be 0 at this point.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to