instance method
delete_multi_entries
Ruby on Rails 7.2.3
Since v6.1.7.10 PrivateSignature
delete_multi_entries(entries, **_options)
Deletes multiple entries in the cache. Returns the number of entries deleted.
Parameters
-
entriesreq -
_optionskeyrest
Source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 389
def delete_multi_entries(entries, **_options)
failsafe :delete_multi_entries, returning: 0 do
redis.then { |c| c.del(entries) }
end
end
Defined in activesupport/lib/active_support/cache/redis_cache_store.rb line 389
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::RedisCacheStore