Comment 4 for bug 921812

Revision history for this message
Jason Stephenson (jstephenson) wrote :

I've decided on a new approach. I'll an open-ils.actor.container.items.delete_all method to delete the underlying database entries for the contents of a container. The client can call this when deleting copies and the heavy lifting is done on the backend.

If done right, this should for any kind of container and allow one to clear the bucket itself or keep the deleted entries in the bucket:

open-ils.actor.container.items.delete_all $authtoken, $container_type, $container_id, $remove_from_bucket