Deleting a Record
You can delete a single record by its ID using Collection#delete
.
movies = stash.collection("movies")
movies.delete("<some UUID>")
If you have multiple records to delete, you can iterate:
ids_to_delete.each { |id| movies.delete(id) }
There is not currently any way to bulk-delete by ID, or by matching a query. If this is a feature you greatly desire, please let us know on our support site.