Hello,

why do you would like to use the generic Kamailio DB1 (v1) API with db_mongodb, 
when there is a ndb_mongodb module available which supports native queries and 
also provide functions to iterate over multiple documents?

Cheers,

Henning

> -----Original Message-----
> From: Mario Pereira via sr-dev <sr-dev@lists.kamailio.org>
> Sent: Montag, 5. Februar 2024 09:56
> To: sr-dev@lists.kamailio.org
> Cc: mario.pere...@quobis.com
> Subject: [sr-dev] Working with arrays in MongoDB documents
> 
> Hi everybody,
> 
> I normally use MongoDB as DB engine in my projects and I would like to get all
> MongoDB advantages when working with Kamailio. For this reason, I need to
> deal with arrays of information inside a document (for example, an array of
> contacts inside a document).
> 
> And now the question: is it possible to insert, update and search info in a
> MongoDB document by using arrays via srdb1 lib? If yes, how? And if not, are
> you thinking about implementing it in the future?
> 
> Thank you very much for your time.
> 
> Regards,
> Mario
> _______________________________________________
> Kamailio (SER) - Development Mailing List To unsubscribe send an email to sr-
> dev-le...@lists.kamailio.org
_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to