Hi there,

Question: is it possible to load a htable, defined by columns, from a
MongoDB collection, when a certain "column" is an object with multiple
elements?

For example:
modparam("htable", "htable",
"users=>size=10;dbtable=users;cols='FirstName,LastName,Location:Prefix';")

Fails when trying to load the value of Location.Prefix

{
    "FirstName": "John",
    "LastName": "Doe",
    "Language" : "en",
    "Location" : {
        "Country" : "USA",
        "City" : "New York",
        "Prefix" : "+1"
    }
}

Thanks in advance.
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to