Closed rennokki closed 1 year ago
This issue has been automatically closed because it has not had any recent activity. 😨
Merging #149 (565ed19) into master (b0814fe) will increase coverage by
3.92%
. The diff coverage is92.35%
.
This issue has been automatically closed because it has not had any recent activity. 😨
Documentation WIP.
Removed
newBaseQueryBuilder
so it doesn't interfere with the model's query model\Illuminate\Database\Query\Builder
is now the one that handles cache: meaningDB::
calls can also use cachecacheFor
andcacheQuery
Macros to\Illuminate\Database\Query\Builder
cacheFor
andcacheQuery
Macros to\Illuminate\Database\Eloquent\Builder
(for query ORM)Relation
to initiate the caching builder when working with relationship buildersCache properties are now all public
The
$cache*
properties andcache*Value()
methods in your models should allpublic
. Previously, they wereprotected
.Added cache global settings
Cache global settings can now be set at
boot()
or if you plan to use just the raw query builder with theDB
facade.For example, you can set base tags for all your Query Builder (not Eloquent) queries:
Cache key generation fingerprint
The way the cache key is generated is now different, to be more stable on a query-to-query basis. You can still use the previous key format by calling
cacheUsePreviousKeyGenerationMethod
in yourAppServiceProvider's
boot
method:To be tested
Small improvements & changes