<p>The cachedb raw queries currently ignores the NULL values that gets returned from a NoSQL Database. For eg. if you do the following:<br>
cache_raw_query("redis:myRedis", "HMGET MYKEY one two three", "$avp(result)");<br>
And if the the key "two" doesn't exist in redis, the avp array element 1 does not return with a NULL value, instead the value at element 2 is substituted at element 1 and if we do value matching in the script it has possibilities of error.<br>
It'll be great, if NULL returns back so that value matching of array elements in $avp(result) is done properly.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/525">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciezoLQeLwSnzMrcFvIWUrA1gtpkUks5oNxWZgaJpZM4Etji6.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/525"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>