Releases: renoki-co/laravel-eloquent-query-cache
Releases · renoki-co/laravel-eloquent-query-cache
3.1.1
3.1.0
3.0.0
- Added support for many to many automatic invalidations (#78)
Read the 3.x Documentation on Many-to-Many Automatic Cache Invalidation
getCacheTagsToInvalidateOnUpdate
changed:
For invalidation on many-to-many relations, $relation
will be the name of the relation (posts
, roles
, etc.) while $pivotedModels
will be a collection of models that got attached/detached/updated (Post
, Role
, etc.)
public function getCacheTagsToInvalidateOnUpdate($relation = null, $pivotedModels = null): array
{
//
}