[OpenSIPS-Devel] [opensips] Feature request: cache_store/cache_fetch an AVP with multiple values (#151)

Bogdan Andrei IANCU notifications at github.com
Thu Feb 20 19:43:33 CET 2014


Yes, it is a conflict between how data is generically kept in noSQL dbs - a key has a single value - and between the AVP type of variable - which can have multiple values.
Unfortunately, as @vladpaiu said, there is no generic way to push multiple values for a key (in noSQL), so what you can do it: compact all values from the AVP into a single value or simply iterate through all the AVP values to push them into noSQL one by one with different keys.
Regards,
Bogdan

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/151#issuecomment-35654478
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140220/1b80aaaf/attachment.htm>


More information about the Devel mailing list