You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, the id is displayed, which is assigned to the very first entry in the cache. But if you disable the cache, then everything works as it should.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Good day!
Can I use
$this->getRelated
on already cached data?For example:
addresses
. All its values are cached.peoples
table. Each row has anaddress_id
parameter, which is tied to a specificid
from theaddresses
table.I am using
memcached
.Tried like this:
As a result, the
id
is displayed, which is assigned to the very first entry in the cache. But if you disable the cache, then everything works as it should.Beta Was this translation helpful? Give feedback.
All reactions