_id or using a filter expression. Both methods provide
the same consistency guarantees and will be reflected in query/get results according to your consistency level.
To delete documents by their _id, pass a list of _ids to the delete() method:
The
delete() method returns an LSN (Log Sequence Number) that you can pass to subsequent queries for read-after-write consistency.Delete documents by filter expression
To delete documents that match a predicate, you can pass a filter expression to thedelete() function.