We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5bdc7a5 commit c5b0a2aCopy full SHA for c5b0a2a
arango/collection.py
@@ -574,6 +574,7 @@ def truncate(
574
"""Delete all documents in the collection.
575
576
:param sync: Block until deletion operation is synchronized to disk.
577
+ :type sync: bool | None
578
:param compact: Whether to compact the collection after truncation.
579
:return: True if collection was truncated successfully.
580
:rtype: bool
0 commit comments