instance method
delete_multi_entries
Ruby on Rails 7.0.10
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 410
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 410
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::RedisCacheStore