Ported delete_insert to pydriver