public function KeyvalueMongodb::deleteAll in MongoDB 8
Deletes all items from the key/value store.
Overrides KeyValueStoreInterface::deleteAll
File
- src/
KeyvalueMongodb.php, line 213
Class
- KeyvalueMongodb
- This class holds a MongoDB key-value backend.
Namespace
Drupal\mongodbCode
public function deleteAll() {
$this
->collection()
->remove(array());
}