[sr-dev] Re: Working with arrays in MongoDB documents

2024-02-07 Thread Henning Westerholt via sr-dev
how to use it from the cfg script in the module readme. Cheers, Henning > -Original Message- > From: Mario Pereira via sr-dev > Sent: Dienstag, 6. Februar 2024 13:35 > To: sr-dev@lists.kamailio.org > Cc: mario.pere...@quobis.com > Subject: [sr-dev] Re: Working with

[sr-dev] Re: Working with arrays in MongoDB documents

2024-02-06 Thread Mario Pereira via sr-dev
Hi Henning, Thank you very much for your reply. I have a question: what do you mean when you talk about using ndb_mongodb module? Do you mean to use it from the configuration file or inside a module code? Our use case is to save all contacts related to an AOR in the same MongoDB document as an

[sr-dev] Re: Working with arrays in MongoDB documents

2024-02-05 Thread Henning Westerholt via sr-dev
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