instance method delete_multi_entries

Ruby on Rails edge

Since edge Private — implementation detail, not part of the public API

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/deprecated_redis_cache_store.rb, line 421
        def delete_multi_entries(entries, **_options)
          return 0 if entries.empty?

          failsafe :delete_multi_entries, returning: 0 do
            redis.then { |c| c.unlink(*entries) }
          end
        end

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

Defined in ActiveSupport::Cache::DeprecatedRedisCacheStore

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close