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
I have some variables containing bool(false) or bool(true) I'd like to add and get. The problem is now, when I store false and get it back later, I don't know if false was stored, or the key is unknown to yac.
In Memcached for example I can check Memcached::getResultCode() with Memcached::RES_NOTFOUND.
In Yac, when false is returned, I have to do all this expensive-SQL-stuff to re-determine the information.
The text was updated successfully, but these errors were encountered:
Hi, @OlliL .
Maybe #33 is a good choice for you. with this patch, you can set yac.default_null = 1 in your php.ini. Then you will get null when the key is unknown to yac.
Hi,
I have some variables containing bool(false) or bool(true) I'd like to add and get. The problem is now, when I store false and get it back later, I don't know if false was stored, or the key is unknown to yac.
In Memcached for example I can check Memcached::getResultCode() with Memcached::RES_NOTFOUND.
In Yac, when false is returned, I have to do all this expensive-SQL-stuff to re-determine the information.
The text was updated successfully, but these errors were encountered: