Commands: Delete Document
Example
command = DeleteDocumentCommand("employees/1-A", None)
session.advanced.request_executor.execute_command(command)
Syntax
class DeleteDocumentCommand(VoidRavenCommand):
def __init__(self, key: str, change_vector: Optional[str] = None): ...
Parameters | Type | Description |
---|---|---|
key | str |
ID of a document to be deleted |
change_vector | str (optional) |
Entity Change Vector, used for concurrency checks (None to skip check) |