I do bulk operations (including delete) using the queue.

Here is some psuedo code


List itemsToDelete = loadOneHundredItems();
for (Item i in itemsToDelete) {
    delete(i);
}

//this will stop it when it gets to the end of the queue
if (itemsTodelete.size() > 0) {
    QueueFactory.getDefaultQueue().add("/admin/delete-all");
}

--

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