public function deleteMatchingAllTags(array $tags)
    {
        $this->collection->batchDelete(function (\Sokil\Mongo\Expression $e) use ($tags) {
            return $e->whereAll(Cache::FIELD_NAME_TAGS, $tags);
        });
        
        return $this;
    }
public function deleteMatchingAllTags(array $tags)
    {
        $this->collection->batchDelete(function (\Sokil\Mongo\Expression $e) use ($tags) {
            return $e->whereAll(Cache::FIELD_NAME_TAGS, $tags);
        });
        
        return $this;
    }
public function deleteMatchingAllTags ( array $ tags ) { $ this -> collection -> batchDelete ( function ( \ Sokil \ Mongo \ Expression $ e ) use ( $ tags ) { return $ e -> whereAll ( Cache :: FIELD_NAME_TAGS , $ tags ) ; } ) ; return $ this ; }
Delete documents by tag
Document deletes if it contains all passed tags
Delete documents by tag Document deletes if it contains all passed tags