Mongo and operators

Giedrius Baronas g.baronas at gmail.com
Wed Mar 24 00:56:38 CET 2021


Hello all,

I try mongo db query in default instalation but I get error about key 
'op' value ':=' witch is incorrect.
How to solve the use of special characters in a mongo query?

main/mongo/queries.conf

   <85 line>      { \
                 '$project': { \
                         '_id': 0, \
                         'attribute': '$attributes.k', \
                         'value': '$attributes.v', \
                         'op': ':=' \
                 } \
<92 line>        } \

radius -X output:
#(0) sql: ERROR: The op field for attribute ':= = (null)' is NULL, or 
non-existent.
#(0) sql: ERROR: You MUST FIX THIS if you want the configuration to 
behave as you expect
#(0) sql: ERROR: Value field is empty or NULL, skipping the entire row

Giedrius Baronas
www.baronai.lt




More information about the Freeradius-Users mailing list