From: Alan T. DeKok Date: Mon, 29 Mar 2021 23:08:07 +0000 (-0400) Subject: correct samples X-Git-Tag: release_3_0_22~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c83c2f8069b211fba3dbe6f0ded5f7641cdf9d0f;p=thirdparty%2Ffreeradius-server.git correct samples --- diff --git a/raddb/mods-config/sql/main/mongo/queries.conf b/raddb/mods-config/sql/main/mongo/queries.conf index 3b70f33b73..8485a6b74e 100644 --- a/raddb/mods-config/sql/main/mongo/queries.conf +++ b/raddb/mods-config/sql/main/mongo/queries.conf @@ -47,13 +47,13 @@ sql_user_name = "%{User-Name}" ####################################################################### # -# Aggregate query that return like for SQL standard N rows with columns ,, +# Aggregate query that return like for SQL standard N rows with columns ,,, # # Example of Result: # -# { "attribute" : "User-Name", "Value" : "pippo", "op" : ":=" } -# { "attribute" : "ClearText-Password", "value" : "pwd1", "op" : ":=" } -# { "attribute" : "Cache-TTL", "value" : 1000, "op" : ":=" } +# { "id" : 0, "attribute" : "User-Name", "Value" : "pippo", "op" : "==" } +# { "id" : 0, "attribute" : "ClearText-Password", "value" : "pwd1", "op" : ":=" } +# { "id" : 0, "attribute" : "Cache-TTL", "value" : 1000, "op" : ":=" } # authorize_check_query = "db.${authcheck_table}.aggregate([ \ { \