Closed allana-cloud closed 4 years ago
You should be able to pass an AbstractFilter
instance as the conditions for deleteAll()
allowing you to create a match_all query. I don't have an example handy, but from a quick read of the code it should work.
Thanks markstory for your reply! example code would be pretty much handy :)
This issue is stale because it has been open for 120 days with no activity. Remove the stale
label or comment or this will be closed in 15 days
Hi guys, how can i truncate all documents from type? deleteAll() is requiring me for a condition, I wanted the condition be like match_all: {}
Thanks