instance method delete_multi_entries

Ruby on Rails 6.1.7.10

Since v6.1.7.10 Private

Available in: v6.1.7.10 v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

delete_multi_entries(entries, **_options)

Deletes multiple entries in the cache. Returns the number of entries deleted.

Parameters

entries req
_options keyrest
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 423
        def delete_multi_entries(entries, **_options)
          redis.with { |c| c.del(entries) }
        end

Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 423 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Cache::RedisCacheStore

Type at least 2 characters to search.

↑↓ navigate · open · esc close